masiaf
1b680bff2b
feat(input): add undo/redo shortcuts with Ctrl+Z and Ctrl+R ( #4625 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
Co-authored-by: matt korwel <matt.korwel@gmail.com >
2025-09-12 21:07:34 +00:00
Jacob Richman
53ceb78b3d
feat: add cached string width function for performance optimization ( #7850 )
...
Co-authored-by: lifeloating <imshuazi@126.com >
2025-09-11 04:20:40 +00:00
David East
1c3e097bbd
feat(cli): Add support for Ctrl+Backspace to delete a word backward ( #7162 )
2025-09-03 01:00:41 +00:00
Pascal Birchler
a97a6cc71b
Explict imports & exports with type modifier ( #3774 )
2025-08-25 22:04:53 +00:00
Pascal Birchler
42392f6308
chore: consistently import node modules with prefix ( #3013 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com >
2025-08-25 20:11:27 +00:00
Jacob Richman
c887481d93
feat(settings) support editing string settings. ( #6732 )
2025-08-21 23:43:56 +00:00
Jacob Richman
a69b073003
fix(paste) incorrect handling of \\\n in pastes ( #6532 )
2025-08-19 20:41:08 +00:00
Jacob Richman
57f474a33d
Fix/emoji support ( #6187 )
...
Co-authored-by: elasticdotventures <brianh@elastic.ventures >
2025-08-14 00:33:01 +00:00
Sijie Wang
87fb407c02
Fix line end bugs in Vim mode ( #5328 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-08-11 18:58:32 +00:00
Jacob Richman
f2239b943d
fix(ux) bug in replaceRange dealing with newLines that was breaking vim support ( #5320 )
2025-07-31 23:16:29 +00:00
Sijie Wang
8b74a8ed8b
Vim mode ( #3936 )
2025-07-25 22:36:42 +00:00
Jacob Richman
a69d1c0225
Fix bugs breaking drag and drop of files. ( #4887 )
...
Co-authored-by: matt korwel <matt.korwel@gmail.com >
2025-07-25 20:26:13 +00:00
Ali
ac10136a39
Fix ANSI escape crash in text buffer ( #3987 ) ( #3999 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-07-17 17:53:30 +00:00
Daniel Sibaja
e3afdf74ff
Fix #2922 : Prevent @ concatenation to valid paths in shellmode. ( #2932 )
2025-07-05 22:20:12 +00:00
Sandy Tao
c20c467df6
Refactor text-buffer to use reducer ( #2652 )
2025-07-04 00:53:17 +00:00
Billy Biggs
adb0eb56d2
Fix characters being dropped in text-buffer ( #2504 )
...
Co-authored-by: Sandy Tao <sandytao520@icloud.com >
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-07-01 23:07:41 +00:00
Billy Biggs
42dfd1ee61
Handle stdin for prompts using readline for escape character parsing ( #1972 )
2025-06-27 17:57:32 +00:00
Brandon Keiji
5ad4a0a826
fix: prepublish changes to package names ( #1420 )
2025-06-25 12:41:11 +00:00
Jacob Richman
c4e7c9f675
Fix flicker issues by ensuring all actively changing content fits in the viewport ( #1217 )
2025-06-19 13:17:23 -07:00
Jacob Richman
dd31e004a5
Fix bug where single line inserts were deleting all text after the in… ( #1114 )
2025-06-16 15:21:22 -07:00
Jacob Richman
10ca703cce
feat: text-buffer: input sanitization and delete character handling. ( #1031 )
2025-06-16 06:25:11 +00:00
Leo
588e79e48f
feat: Add flow to allow modifying edits during edit tool call ( #808 )
2025-06-08 10:56:58 -07:00
Tolik Malibroda
293e14feec
fix: Rename missing occurence of gemini-code ( #824 )
2025-06-08 00:12:53 +02:00
Jacob Richman
ebf20d4c4c
Auto insert @ when dragging and dropping files. ( #812 )
2025-06-07 14:48:56 -07:00
Jacob Richman
84fe495485
Fix bug pasting multiline strings ( #632 )
2025-06-02 14:31:35 -07:00
DeWitt Clinton
58585e437d
Add a keybinding for ctrl+w to delete the previous word. ( #582 )
...
Adds the following new keybindings to the cli text input buffer:
- `Ctrl+W` : Delete previous word
2025-05-28 09:59:25 -07:00
DeWitt Clinton
298953a719
Add additional readline-like keybindings. ( #524 )
...
Adds the following conventional readline-like keybindings:
- `Ctrl+H`: Delete the previous character.
- `Ctrl+D`: Delete the next character.
Additionally, remaps the Debug Console command from Ctrl+D to Ctrl+O, which had been first introduced in PR #486 .
2025-05-23 22:13:57 -07:00
Taylor Mullen
8a237e0af8
fix(cli): Handle VSCode Shift+Enter in text buffer
...
- The text buffer now correctly interprets `\\\r` (produced by Shift+Enter in the VSCode terminal) as a newline character.
- Added a corresponding test case to `text-buffer.test.ts`.
Fixes https://buganizer.corp.google.com/issues/418505364
2025-05-20 23:44:53 -07:00
Jacob Richman
e38e62fec6
Merge InputPrompt and multiline-editor and move autocomplete logic directly into InputPrompt ( #453 )
2025-05-20 16:50:32 -07:00
DeWitt Clinton
8e123f7a7c
Implement additional readline-like keybindings, including alt-left arrow and alt-right arrow. ( #443 )
...
This change adds keybinding support for:
- `Ctrl+B`: Moves the cursor backward one character.
- `Ctrl+F`: Moves the cursor forward one character.
- `Alt+Left Arrow`: Moves the cursor backward one word.
- `Alt+Right Arrow`: Moves the cursor forward one word.
Closes b/411469305.
2025-05-20 10:12:07 -07:00
Jacob Richman
56dcfa4e3a
strip escape characters when pasting. ( #386 )
2025-05-16 13:17:48 -07:00
Jacob Richman
e54a085df9
Support auto wrapping of in the multiline editor. ( #383 )
2025-05-16 11:58:37 -07:00
DeWitt Clinton
63d8f22658
Add readline-like keybindings to the input prompts. ( #354 )
...
New keybindings in the main input prompt (when auto-suggestions are not active):
- `Ctrl+L`: Clears the entire screen.
- `Ctrl+A`: Moves the cursor to the beginning of the current input line.
- `Ctrl+E`: Moves the cursor to the end of the current input line.
- `Ctrl+P`: Navigates to the previous command in the input history.
- `Ctrl+N`: Navigates to the next command in the input history.
In the multiline text editor (e.g., when editing a previous message):
- `Ctrl+K`: Deletes text from the current cursor position to the end of the line ("kill line right").
2025-05-14 17:33:37 -07:00
Jacob Richman
d9dc7a1a03
Refactor TextBuffer to be a React hook ( #340 )
2025-05-13 19:55:31 -07:00
Jacob Richman
78ec631acb
Multiline editor ( #302 )
...
Co-authored-by: Taylor Mullen <ntaylormullen@google.com >
2025-05-13 11:24:04 -07:00