prevent tab cycling when there is a popup

This commit is contained in:
raziman 2020-07-24 14:51:45 +08:00
parent 6ea8edd416
commit 7fb06cf03a

View File

@ -147,6 +147,11 @@ func start(application *tview.Application, args Args) {
switch event.Key() {
// cycle through each section
case tcell.KeyTAB:
if gomu.pages.GetPageCount() > 1 {
return event
}
gomu.cyclePanels()
}