diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-03-29 22:30:41 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-03-29 22:30:41 +0800 |
commit | d5ed498b592ff2b7f725163cae0c8426930c005c (patch) | |
tree | 86e97de1c42cd7235a19551d0031f904230df5bb /src/interactive/widgets/main.rs | |
parent | ac04d9ed9992090cfaf0002c2da954fefd542241 (diff) |
navigation help for 'help' pane :D
Diffstat (limited to 'src/interactive/widgets/main.rs')
-rw-r--r-- | src/interactive/widgets/main.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interactive/widgets/main.rs b/src/interactive/widgets/main.rs index 8a43a01..fe8c358 100644 --- a/src/interactive/widgets/main.rs +++ b/src/interactive/widgets/main.rs @@ -117,6 +117,11 @@ impl MainWindow { if let Some((help_area, pane)) = help_pane { let props = HelpPaneProps { border_style: help_style, + has_focus: if let Help = state.focussed { + true + } else { + false + }, }; pane.render(props, help_area, buf); } |