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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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