mirror of
https://github.com/zyedidia/micro
synced 2024-09-30 05:06:02 +00: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()
|
||||
if action.InfoBar.HasPrompt {
|
||||
_, resize := event.(*tcell.EventResize)
|
||||
if action.InfoBar.HasPrompt && !resize {
|
||||
action.InfoBar.HandleEvent(event)
|
||||
} else {
|
||||
action.Tabs.HandleEvent(event)
|
||||
|
|
Loading…
Reference in a new issue