Skip to content

Commit eab3ebd

Browse files
authored
Merge pull request #604 from jackyhevey/patch-1
ctrl h as backspace in command line
2 parents 985a335 + 216e68f commit eab3ebd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ui/views/tui_textfield.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ impl<'a> TuiTextField<'a> {
343343

344344
Key::Ctrl('w') => line_buffer.delete_prev_word(Word::Vi, 1, listener),
345345
Key::Ctrl('u') => line_buffer.discard_line(listener),
346+
Key::Ctrl('h') => line_buffer.backspace(1, listener),
346347
Key::Ctrl('d') => line_buffer.delete(1, listener).is_some(),
347348
Key::Char('\n') => {
348349
break;

0 commit comments

Comments
 (0)