From: Kevin Lamonte Date: Fri, 11 May 2018 18:07:19 +0000 (-0400) Subject: Fix status bar on treeview window X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=84da64e71d6c5d9991e99ff47533d0fe14bd51ed;p=nikiroo-utils.git Fix status bar on treeview window --- diff --git a/src/jexer/ttree/TTreeViewWindow.java b/src/jexer/ttree/TTreeViewWindow.java index 2adf616..2c64206 100644 --- a/src/jexer/ttree/TTreeViewWindow.java +++ b/src/jexer/ttree/TTreeViewWindow.java @@ -190,6 +190,13 @@ public class TTreeViewWindow extends TScrollableWindow { return; } + // Give the shortcut bar a shot at this. + if (statusBar != null) { + if (statusBar.statusBarKeypress(keypress)) { + return; + } + } + if (keypress.equals(kbShiftLeft) || keypress.equals(kbCtrlLeft) || keypress.equals(kbAltLeft)