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()
if action.InfoBar.HasPrompt {
_, resize := event.(*tcell.EventResize)
if action.InfoBar.HasPrompt && !resize {
action.InfoBar.HandleEvent(event)
} else {
action.Tabs.HandleEvent(event)