From 84da64e71d6c5d9991e99ff47533d0fe14bd51ed Mon Sep 17 00:00:00 2001 From: Kevin Lamonte Date: Fri, 11 May 2018 14:07:19 -0400 Subject: [PATCH] Fix status bar on treeview window --- src/jexer/ttree/TTreeViewWindow.java | 7 +++++++ 1 file changed, 7 insertions(+) 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) -- 2.27.0