Repository navigation
Conversation
hitsmaxft
force-pushed
the
feature/modifier-key-hint
branch
from
October 13, 2026 09:35
834af60 to
4d42871
Compare
hitsmaxft
marked this pull request as ready for review
October 15, 2026 03:23
Author
Member
|
很酷很有創意。可是有無實用價值? 用性能換小玩具,推給用戶須謹慎。 |
Author
因为我是vim用户, 经常受到中英文输入状态的困扰, 没有输入状态栏会影响使用. |
Member
|
看輸入狀態可以試試這項新功能: |
Member
|
後端功能 librime 插件可以提供擴展;前端代碼由 @LEOYoon-Tsaw 重寫後,我不熟悉;如何設計前端功能擴展點,還沒有清晰思路。 目前的代碼改動看上去還不能清晰地分解開,提取模塊,能否關閉乾淨都不敢保證。所以不敢輕易上馬。 |
hitsmaxft
force-pushed
the
feature/modifier-key-hint
branch
2 times, most recently
from
October 21, 2026 10:01
de12448 to
250e5c7
Compare
Reuse the existing candidate/status panel for modifier-key indicators and active-schema names. Keep both features opt-in, use candidate fonts and themes, and dismiss focus names on typing or timeout. Show the schema name when switching back to non-ASCII mode if name hints are enabled. Document configuration and cover hint/message state with standalone tests.
hitsmaxft
force-pushed
the
feature/modifier-key-hint
branch
from
October 22, 2026 03:31
250e5c7 to
509f017
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add optional modifier-key and active-schema hints to the existing input status panel. Both default off and reuse candidate fonts and themes. The schema name appears on non-ASCII focus, disappears on typing or timeout, and replaces the Chinese-mode label when name hints are enabled.
The implementation is event-driven. Modifier state follows IMK key/flags events; focus expiry uses one cancellable, non-repeating timer. Existing Rime status reads supply mode changes. No input-source, modifier or caret polling remains.
Options are cached when settings load. With both hints off, the runtime and presenter are absent: no hint dependencies, state/caret queries, timer scheduling or hint rendering; only cached optional checks remain. The original status formatting, rendering and lifecycle are retained for this path. Disabling cancels existing work and clears hints. Closing the menu-bar icon also skips its label reads and main-queue dispatch.
Validation:
README documents setup and event behavior. Hints require client-provided activation and valid caret geometry; missed modifier-release events are resynchronized by the next keyboard/focus event. Caps Lock and Fn are excluded.