fix(tui): annotate subagent panel truncation literal

This commit is contained in:
Friel
2026-03-28 18:43:02 -07:00
parent 48b7f72829
commit 510d5679a9

View File

@@ -1237,7 +1237,7 @@ fn derive_subagent_name(prompt: &str, ordinal: i32) -> String {
}
let joined = tokens.join("-");
truncate_text(&joined, 40)
truncate_text(&joined, /*max_graphemes*/ 40)
}
fn clean_token(token: &str) -> String {