diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-21 01:55:59 +0300 |
|---|---|---|
| committer | Can Celik <ogulcancelik@gmail.com> | 2026-05-21 03:10:52 +0300 |
| commit | 7515695a1996e9b406a3cf1eef43208c6c248929 (patch) | |
| tree | c0fd480d20b17a0309fad7a1933aa64d043dafc3 /src/app/state.rs | |
| parent | 6172275252f5f724d874163462f5394800f8d55b (diff) | |
fix: keep cjk ime agent allow-list safe
refs #149
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index 1566fdeb..6924dc65 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -969,7 +969,8 @@ pub struct AppState { /// the pane requested `?25l`. See `[experimental] reveal_hidden_cursor_for_cjk_ime`. pub reveal_hidden_cursor_for_cjk_ime: bool, /// Restrict cursor reveal to focused panes whose detected agent matches - /// one of these. Empty means apply to any focused pane. + /// one of these. When false, apply to any focused pane. + pub cjk_ime_agent_filter_configured: bool, pub cjk_ime_agents: Vec<crate::detect::Agent>, /// DECSCUSR shape parameter (1–6) for the IME anchor cursor. pub cjk_ime_cursor_shape: u8, @@ -1233,6 +1234,7 @@ impl AppState { prompt_new_tab_name: true, show_agent_labels_on_pane_borders: false, reveal_hidden_cursor_for_cjk_ime: false, + cjk_ime_agent_filter_configured: false, cjk_ime_agents: Vec::new(), cjk_ime_cursor_shape: 2, // steady_block kitty_graphics_enabled: false, |
