From fd3a983b295143e013e0dfef8519fa2613300f12 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Thu, 11 Jan 2018 19:44:02 +0300 Subject: [PATCH] clear keybind list when not found --- ui.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui.go b/ui.go index d440dac..7a7e9ff 100644 --- a/ui.go +++ b/ui.go @@ -725,6 +725,7 @@ func (ui *ui) readEvent(ch chan<- multiExpr, ev termbox.Event) { ch <- multiExpr{redraw, 1} ui.keyAcc = nil ui.keyCount = nil + ui.menuBuf = nil case 1: if ok { if len(ui.keyCount) > 0 {