mirror of
https://github.com/zyedidia/micro.git
synced 2024-11-05 04:34:34 +03:00
micro: DoEvent: Don't forward the resize event into the InfoBar (#3035)
This commit is contained in:
parent
0de16334d3
commit
321322af31
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user