Add Ctrl+D to exit when editor is empty

- Add isCtrlD helper to keys.ts
- CustomEditor intercepts Ctrl+D and only triggers callback when editor is empty
- Single Ctrl+D with empty input exits immediately
- Update CHANGELOG to frame as feature (Kitty protocol support) not fix
This commit is contained in:
Ahmed Kamal 2025-12-18 19:39:41 +02:00
parent c3c2bffc68
commit 727a7ab018
5 changed files with 31 additions and 3 deletions

View file

@ -23,6 +23,7 @@ export {
isAltBackspace,
isCtrlA,
isCtrlC,
isCtrlD,
isCtrlE,
isCtrlK,
isCtrlO,