Skip to content

fix(tui): fixed config editing that wasn't working as intended#3

Merged
night-slayer18 merged 1 commit intonight-slayer18:mainfrom
greymistcube:prefer-edit-over-hotkey
Mar 8, 2026
Merged

fix(tui): fixed config editing that wasn't working as intended#3
night-slayer18 merged 1 commit intonight-slayer18:mainfrom
greymistcube:prefer-edit-over-hotkey

Conversation

@greymistcube
Copy link
Copy Markdown
Contributor

When editing a config field inside the TUI, typing text should take precedence over general hotkeys. Ran into this problem when I was trying to change the default language to python3 but the TUI wouldn't allow it because h key press kept getting hijacked by the interface to switch the focus.

Copy link
Copy Markdown
Owner

@night-slayer18 night-slayer18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, good fix

@night-slayer18 night-slayer18 merged commit 60e2846 into night-slayer18:main Mar 8, 2026
12 of 13 checks passed
night-slayer18 added a commit that referenced this pull request Mar 8, 2026
fix(tui): key hijacking in config editing mode

- Text input now takes precedence over navigation hotkeys
  (h, l, tab) when a config field is in edit mode (isEditing)
- Resolves issue where typing e.g. 'python3' as default language
  would trigger focus-toggle instead of inserting characters

Fixes #3

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
@greymistcube greymistcube deleted the prefer-edit-over-hotkey branch March 10, 2026 04:38
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