aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-21 01:55:59 +0300
committerCan Celik <ogulcancelik@gmail.com>2026-05-21 03:10:52 +0300
commit7515695a1996e9b406a3cf1eef43208c6c248929 (patch)
treec0fd480d20b17a0309fad7a1933aa64d043dafc3 /src/config
parent6172275252f5f724d874163462f5394800f8d55b (diff)
fix: keep cjk ime agent allow-list safe
refs #149
Diffstat (limited to 'src/config')
-rw-r--r--src/config/model.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/model.rs b/src/config/model.rs
index ba52d579..40d425a3 100644
--- a/src/config/model.rs
+++ b/src/config/model.rs
@@ -265,7 +265,8 @@ pub struct ExperimentalConfig {
pub reveal_hidden_cursor_for_cjk_ime: bool,
/// Restrict `reveal_hidden_cursor_for_cjk_ime` to focused panes whose
/// detected agent matches one of these names (case-insensitive). Empty
- /// list means apply to any focused pane. Unknown agent names are ignored.
+ /// list means apply to any focused pane. Unknown agent names are ignored;
+ /// if the list contains no valid names, the reveal does not apply.
/// Accepted names: pi, claude, codex, gemini, cursor, cline, opencode,
/// copilot, kimi, kiro, droid, amp, grok, hermes. Default: empty.
pub cjk_ime_agents: Vec<String>,