Skip to content

fix: remove invalid Ctrl+Shift+C keybinding - #19905

Closed
nomuvan wants to merge 1 commit into
NousResearch:mainfrom
nomuvan:fix/remove-invalid-ctrl-shift-c-binding
Closed

fix: remove invalid Ctrl+Shift+C keybinding#19905
nomuvan wants to merge 1 commit into
NousResearch:mainfrom
nomuvan:fix/remove-invalid-ctrl-shift-c-binding

Conversation

@nomuvan

@nomuvan nomuvan commented May 4, 2026

Copy link
Copy Markdown

Summary

  • Remove the @kb.add('c-S-c') prompt_toolkit binding that raises ValueError: Invalid key: c-S-c during CLI startup.
  • Leave Ctrl+Shift+C/Cmd+C handling to terminal emulators.
  • Add regression coverage to prevent reintroducing the invalid key name.

Test Plan

  • python -m pytest tests/cli/test_invalid_keybindings.py -q
  • python -m pytest tests/cli/test_invalid_keybindings.py tests/cli/test_cli_extension_hooks.py -q
  • hermes --version
  • hermes chat -q 'pingとだけ返して' --quiet
  • Interactive hermes launch in tmux

@nomuvan

nomuvan commented May 4, 2026

Copy link
Copy Markdown
Author

Closing in favor of an updated branch with broader keybinding regression coverage.

@nomuvan nomuvan closed this May 4, 2026
@alt-glitch alt-glitch added comp/cli CLI entry point, hermes_cli/, setup wizard P1 High — major feature broken, no workaround type/bug Something isn't working labels May 4, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Superseded by #19906 from same author — same fix with updated test file name.

1 similar comment
@alt-glitch

Copy link
Copy Markdown
Collaborator

Superseded by #19906 from same author — same fix with updated test file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P1 High — major feature broken, no workaround type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants