clear keybind list when not found
This commit is contained in:
parent
158b1b401b
commit
fd3a983b29
1
ui.go
1
ui.go
@ -725,6 +725,7 @@ func (ui *ui) readEvent(ch chan<- multiExpr, ev termbox.Event) {
|
|||||||
ch <- multiExpr{redraw, 1}
|
ch <- multiExpr{redraw, 1}
|
||||||
ui.keyAcc = nil
|
ui.keyAcc = nil
|
||||||
ui.keyCount = nil
|
ui.keyCount = nil
|
||||||
|
ui.menuBuf = nil
|
||||||
case 1:
|
case 1:
|
||||||
if ok {
|
if ok {
|
||||||
if len(ui.keyCount) > 0 {
|
if len(ui.keyCount) > 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user