Skip to content

Use Claude Code with your ChatGPT, Kimi, Cursor or Grok subscription via a local Anthropic-compatible proxy

Rust

use smoother monitor spinner

Raine Virtaa7955f2fffce
diff --git a/src/tui.rs b/src/tui.rs
index 6a78d68..d9e93f1 100644
--- a/src/tui.rs
+++ b/src/tui.rs
@@ -370,7 +370,7 @@ fn token_value(value: Option<u64>) -> String {
}
fn spinner(tick: usize) -> &'static str {
- const FRAMES: &[&str] = &["/", "-", "\\", "|"];
+ const FRAMES: &[&str] = &["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"];
FRAMES[tick % FRAMES.len()]
}