diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-09-04 21:59:13 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-09-04 21:59:13 +0300 |
| commit | a2b128978a154c02311b90da778ca115758f75d7 (patch) | |
| tree | 429d5ea3f44c91b85ed54138a1b4a6ad7ea1e1a4 /src/config.rs | |
| parent | 6045fe6a8735609507ec8600fa07205227546e8b (diff) | |
feat: enable kitty graphics by default
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index 117374ee..4c966453 100644 --- a/src/config.rs +++ b/src/config.rs @@ -95,6 +95,13 @@ impl Config { self.onboarding.unwrap_or(true) } + pub fn kitty_graphics_enabled(&self) -> bool { + self.terminal + .kitty_graphics + .or(self.experimental.kitty_graphics) + .unwrap_or(true) + } + pub fn prefix_key(&self) -> (KeyCode, KeyModifiers) { self.validated_keybinds().1 } |
