git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix status bar on treeview window
[fanfix.git]
/
src
/
jexer
/
ttree
/
TTreeViewWindow.java
diff --git
a/src/jexer/ttree/TTreeViewWindow.java
b/src/jexer/ttree/TTreeViewWindow.java
index 2adf61681ab3857e26403da73cd23af0d2f769eb..2c642063812c2262677f12f9aeb0417149b7f400 100644
(file)
--- 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)