aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/terminal/title.rs14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/terminal/title.rs b/src/terminal/title.rs
index 6958be00..89b4fed2 100644
--- a/src/terminal/title.rs
+++ b/src/terminal/title.rs
@@ -1,4 +1,4 @@
-const CLAUDE_ACTIVITY_GLYPHS: &str = "·✢✳✶✻✽";
+const CLAUDE_ACTIVITY_GLYPHS: &str = "·✢✳✶✻✽◐◓◑◒";
pub(crate) fn stripped_terminal_title(title: &str) -> Option<String> {
let title = crate::platform::terminal_title_for_presentation(title).trim();
@@ -28,7 +28,17 @@ mod tests {
#[test]
fn strips_one_recognized_leading_activity_glyph() {
- for title in ["⠋ task", "✳ task", " ⠙ task ", "✢ task", "✻ task"] {
+ for title in [
+ "⠋ task",
+ "✳ task",
+ " ⠙ task ",
+ "✢ task",
+ "✻ task",
+ "◐ task",
+ "◓ task",
+ "◑ task",
+ "◒ task",
+ ] {
assert_eq!(stripped_terminal_title(title).as_deref(), Some("task"));
}
assert_eq!(