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>
This commit is contained in:
masiaf
2025-09-12 16:07:34 -05:00
committed by GitHub
parent 21826010ef
commit 811a2e90d9
3 changed files with 25 additions and 3 deletions
@@ -127,13 +127,13 @@ describe('InputPrompt', () => {
killLineLeft: vi.fn(),
openInExternalEditor: vi.fn(),
newline: vi.fn(),
undo: vi.fn(),
redo: vi.fn(),
backspace: vi.fn(),
preferredCol: null,
selectionAnchor: null,
insert: vi.fn(),
del: vi.fn(),
undo: vi.fn(),
redo: vi.fn(),
replaceRange: vi.fn(),
deleteWordLeft: vi.fn(),
deleteWordRight: vi.fn(),