diff options
| -rw-r--r-- | client/ui.go | 2 | ||||
| -rw-r--r-- | tui/text_input.go | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/client/ui.go b/client/ui.go index de9a0fb..2fc71f6 100644 --- a/client/ui.go +++ b/client/ui.go @@ -40,7 +40,7 @@ func (a *application) onInput(ev tui.Event) { input.SetText("") } } - case 'h' | keys.Ctrl: + case '0' | keys.Alt: a.currentWindow = cmdWindowLocation {} } diff --git a/tui/text_input.go b/tui/text_input.go index 63335aa..c861f96 100644 --- a/tui/text_input.go +++ b/tui/text_input.go @@ -200,6 +200,12 @@ func (t *TextInput) Update(ev Event) (usedKeybind bool) { if ev.Key & (keys.Ctrl | keys.Alt) != 0 { t.End(selection) } + case 'h': + if ev.Key & keys.Ctrl == 0 { + break + } + word = false + fallthrough case keys.Backspace: if t.selection != "" { t.selection = "" |
