Skip to content

fix(tui-v2): add missing keysym.py — tuiapp_v2 ImportError on fresh clone#514

Merged
lsdefine merged 1 commit into
lsdefine:mainfrom
shenhao-stu:tui-v2-v3-fixes-pending-shell
May 28, 2026
Merged

fix(tui-v2): add missing keysym.py — tuiapp_v2 ImportError on fresh clone#514
lsdefine merged 1 commit into
lsdefine:mainfrom
shenhao-stu:tui-v2-v3-fixes-pending-shell

Conversation

@shenhao-stu
Copy link
Copy Markdown
Contributor

tuiapp_v2.py:27 imports fmt_key, fmt_keys from keysym, but the module file was never tracked. PR #513 (tui v2/v3 fixes) is unusable on a fresh checkout without this. Adds the cross-platform shortcut formatter that turns binding strings into mac/Win-Linux key labels (e.g. "ctrl+b""⌃B" / "Ctrl+B"), honoring GA_KEYSYM_STYLE.

…lone

`tuiapp_v2.py:27` imports `fmt_key`, `fmt_keys` from `keysym`, but the
module file was never tracked. PR lsdefine#513 (tui v2/v3 fixes) is unusable on a
fresh checkout without this. Adds the cross-platform shortcut formatter
that turns binding strings into mac/Win-Linux key labels (e.g.
`"ctrl+b"` → `"⌃B"` / `"Ctrl+B"`), honoring `GA_KEYSYM_STYLE`.
@lsdefine lsdefine merged commit f1a0a89 into lsdefine:main May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants