mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
fix(key): recover the insert key
We started supporting insert in #418, but then accidentally removed it during a rebase in #396. Oops.
This commit is contained in:
committed by
Christian Muehlhaeuser
parent
f406999cba
commit
0e76ba142a
@@ -145,6 +145,14 @@ func TestReadInput(t *testing.T) {
|
||||
},
|
||||
},
|
||||
},
|
||||
{"insert",
|
||||
[]byte{'\x1b', '[', '2', '~'},
|
||||
[]Msg{
|
||||
KeyMsg{
|
||||
Type: KeyInsert,
|
||||
},
|
||||
},
|
||||
},
|
||||
{"alt+ctrl+a",
|
||||
[]byte{'\x1b', byte(keySOH)},
|
||||
[]Msg{
|
||||
|
||||
Reference in New Issue
Block a user