Warning
Release Format Update: Linux releases will soon use .tar.gz archives instead of .zip. Please make the necessary changes to your deployment scripts.
console: allow using arrow left/right, home/end keys and history mode (#17836)
-
console: allow using arrow left/right to edit the line (with UTF-8 support)
-
console: fix arrow keys on Windows using private-use Unicode
-
console: add Home/End key support for Windows and Linux
-
console: add basic Up/Down history navigation
-
fix build
-
console: allow using arrow left/right to edit the line (with UTF-8 support)
-
console: fix arrow keys on Windows using private-use Unicode
-
console: add Home/End key support for Windows and Linux
-
console: add basic Up/Down history navigation
-
console: remove unreachable wc == 0 check after VK switch
-
console: add Ctrl+Left/Right word navigation
- Add KEY_CTRL_ARROW_LEFT and KEY_CTRL_ARROW_RIGHT codes
- Windows: detect CTRL modifier via dwControlKeyState
- Linux: parse ANSI sequences with modifier (1;5D/C)
- Implement move_word_left/right with space-skipping logic
- Refactor escape sequence parsing to accumulate params
- console: add Delete key support
- Windows: VK_DELETE detection
- Linux: ESC[3~ sequence parsing
- Forward character deletion with UTF-8 support
- console: implement bash-style history editing
- Edit any history line during UP/DOWN navigation, edits persist
- Pressing Enter appends edited version as new history entry
- Original line stay untouched in their positions
-
clean up
-
better history impl
-
fix decode_utf8
Co-authored-by: Pascal admin@serveurperso.com
macOS/iOS:
Linux:
Windows: