diff options
| author | DeWitt Clinton <[email protected]> | 2025-05-20 10:12:07 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-20 10:12:07 -0700 |
| commit | ee702c3139a2fe966407379891cae0e3a148891e (patch) | |
| tree | 83e4e79ed663699ad1ceaf46f2508a4dc5f4133c /packages/cli/src/ui/App.tsx | |
| parent | 6ca446bdeda359339b20aaf024d5cce4234bfe9a (diff) | |
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.
Diffstat (limited to 'packages/cli/src/ui/App.tsx')
| -rw-r--r-- | packages/cli/src/ui/App.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index 972f4522..67aee9b5 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -375,7 +375,6 @@ export const App = ({ navigateSuggestionUp={completion.navigateUp} navigateSuggestionDown={completion.navigateDown} resetCompletion={completion.resetCompletionState} - setEditorState={setEditorState} onClearScreen={handleClearScreen} // Added onClearScreen prop shellModeActive={shellModeActive} setShellModeActive={setShellModeActive} |
