aboutsummaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs4
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,