From 8f6516082803ee7d056b5946cd82c5460b0a3040 Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Sun, 31 Jul 2022 13:15:31 -0400 Subject: [PATCH] fix: add ctrl+h to backspace text --- textinput/textinput.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textinput/textinput.go b/textinput/textinput.go index eb7d414..9692ed7 100644 --- a/textinput/textinput.go +++ b/textinput/textinput.go @@ -611,7 +611,7 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) { switch msg := msg.(type) { case tea.KeyMsg: switch msg.Type { - case tea.KeyBackspace: // delete character before cursor + case tea.KeyBackspace, tea.KeyCtrlH: // delete character before cursor m.Err = nil if msg.Alt {