Skip to content

Conversation

esdrasrenan
Copy link

Problem

On Windows with international keyboards (AltGr), / and ? could be blocked.
? did not always open the overlay when the terminal did not report Shift.

Solution

TextArea

  • Insert characters with NONE/SHIFT.
  • Allow Alt/AltGr for punctuation (e.g., /, ?).
  • Preserve Alt+f, Alt+b, and Ctrl+Alt+h.

Overlay

  • On empty line, ? toggles shortcuts (including AltGr).
  • With text, ? just inserts.

Validation

Windows (VS Code / Windows Terminal):

  • Empty line → Alt+W opens/closes overlay.
  • With text → ? inserts.
  • / inserts (incl. AltGr).
  • Alt+Backspace and Ctrl+Alt+H delete word.

Scope

Only codex-rs/tui.

Tests

cargo test -p codex-tui387/387 passed.

References

Fixes #4260

…and Alt word-nav; toggle shortcuts with '?' on empty line (incl. AltGr)
Copy link

github-actions bot commented Oct 4, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@esdrasrenan
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Oct 4, 2025
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.

Codex CLI does not insert character slash “/” in Windows
1 participant