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 | |
| parent | docs(changelog): compatibility update (diff) | |
| download | sl0ppij-776a2c5151f768bfa40fda7471258527c106dd85.tar.gz sl0ppij-776a2c5151f768bfa40fda7471258527c106dd85.tar.xz sl0ppij-776a2c5151f768bfa40fda7471258527c106dd85.zip | |
Fix Simplified Ui
Propagate the config now, in all the places, as opposed to
fallback to a default.
Diffstat (limited to 'zellij-tile')
| -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 4ff44eac..c1b9c30e 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 } + } +} |
