diff options
author | a-kenji <aks.kenji@protonmail.com> | 2021-05-12 13:32:39 +0200 |
---|---|---|
committer | a-kenji <aks.kenji@protonmail.com> | 2021-05-12 15:27:28 +0200 |
commit | 776a2c5151f768bfa40fda7471258527c106dd85 (patch) | |
tree | ea9c4f5b93f5f9ca9a517dd146f69b1817bc0a60 /zellij-tile/src | |
parent | ce50d6e4061a3c24ec0f0d4644037f95fcda94d7 (diff) |
Fix Simplified Ui
Propagate the config now, in all the places, as opposed to
fallback to a default.
Diffstat (limited to 'zellij-tile/src')
-rw-r--r-- | zellij-tile/src/data.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/zellij-tile/src/data.rs b/zellij-tile/src/data.rs index 4ff44eacf..c1b9c30ef 100644 --- a/zellij-tile/src/data.rs +++ b/zellij-tile/src/data.rs @@ -143,7 +143,13 @@ pub struct PluginIds { pub zellij_pid: u32, } -#[derive(Debug, Default, Copy, Clone, PartialEq, Eq, Hash, Deserialize, Serialize)] +#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Deserialize, Serialize)] pub struct PluginCapabilities { pub arrow_fonts: bool, } + +impl Default for PluginCapabilities { + fn default() -> PluginCapabilities { + PluginCapabilities { arrow_fonts: true } + } +} |