Skip to content

Conversation

ivy113
Copy link
Contributor

@ivy113 ivy113 commented Aug 16, 2025

Interactive prompt was crashing with the submission of a single "/". This PR fixes that issue and improves keyboard shortcut experience.

Issue Fixed

  • Typing "/" caused IndexError: list index out of range

Additional Improvements

  • Added Ctrl+J as a binding for newlines in NORMAL mode (Ctrl+J is standard for terminals).
  • Updated toolbar to correctly show as Ctrl+Jinstead of Ctrl+<Enter> to Submit in MULTILINE mode

  - Treat "/" as empty input to prevent IndexError
  - Add Ctrl+J binding for newlines in normal mode
  - Fix toolbar text: Ctrl+J instead of Ctrl+Enter
  - Show mode-specific shortcuts dynamically
@evalstate evalstate merged commit 1b14a79 into evalstate:main Aug 19, 2025
6 checks passed
@evalstate
Copy link
Owner

thank you so much!

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