diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2021-05-12 15:46:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-12 15:46:17 +0200 |
| commit | 9eea63f83615ae73508c8e88e37389390d3946f8 (patch) | |
| tree | 53533d8553d760b6510d54bbdd80b900346ff987 /src/common/input/handler.rs | |
| parent | docs(changelog): pasted text fix (diff) | |
| parent | Merge branch 'main' of https://github.com/zellij-org/zellij into fix-simplifi... (diff) | |
| download | sl0ppij-9eea63f83615ae73508c8e88e37389390d3946f8.tar.gz sl0ppij-9eea63f83615ae73508c8e88e37389390d3946f8.tar.xz sl0ppij-9eea63f83615ae73508c8e88e37389390d3946f8.zip | |
Merge pull request #495 from a-kenji/fix-simplified-ui
Fix Simplified Ui
Diffstat (limited to 'src/common/input/handler.rs')
| -rw-r--r-- | src/common/input/handler.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/input/handler.rs b/src/common/input/handler.rs index 62e2e909..2dbec080 100644 --- a/src/common/input/handler.rs +++ b/src/common/input/handler.rs @@ -165,9 +165,12 @@ impl InputHandler { /// Creates a [`Help`] struct indicating the current [`InputMode`] and its keybinds /// (as pairs of [`String`]s). // TODO this should probably be automatically generated in some way -pub fn get_mode_info(mode: InputMode, palette: Palette) -> ModeInfo { +pub fn get_mode_info( + mode: InputMode, + palette: Palette, + capabilities: PluginCapabilities, +) -> ModeInfo { let mut keybinds: Vec<(String, String)> = vec![]; - let capabilities = PluginCapabilities { arrow_fonts: true }; match mode { InputMode::Normal | InputMode::Locked => {} InputMode::Resize => { |
