micro: DoEvent: Don't forward the resize event into the InfoBar (#3035)

This commit is contained in:
Jöran Karl
2024-03-12 18:49:24 +01:00
committed by GitHub
parent 0de16334d3
commit 321322af31

View File

@@ -473,7 +473,8 @@ func DoEvent() {
}
ulua.Lock.Lock()
if action.InfoBar.HasPrompt {
_, resize := event.(*tcell.EventResize)
if action.InfoBar.HasPrompt && !resize {
action.InfoBar.HandleEvent(event)
} else {
action.Tabs.HandleEvent(event)