File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -746,19 +746,9 @@ impl App {
746746 buf,
747747 ) ;
748748
749- // Status line: spinner ( when active) or status bar (model/tokens/cost )
749+ // Status line: only show spinner when active (CC leaves this blank when idle )
750750 if self . spinner . is_active ( ) {
751751 Widget :: render ( & self . spinner , layout. status , buf) ;
752- } else {
753- render_status_line (
754- & self . model_name ,
755- self . permission_mode ,
756- self . total_input_tokens ,
757- self . total_output_tokens ,
758- & self . thinking ,
759- layout. status ,
760- buf,
761- ) ;
762752 }
763753
764754 // Separator above input
@@ -1250,6 +1240,7 @@ fn classify_tool_risk(tool_name: &str) -> RiskLevel {
12501240/// Render the status line: model name | token counts | thinking state.
12511241///
12521242/// Matches CC's `StatusLine` component showing operational data.
1243+ #[ allow( dead_code) ]
12531244fn render_status_line (
12541245 model : & str ,
12551246 perm_mode : crab_core:: permission:: PermissionMode ,
@@ -1307,6 +1298,7 @@ fn render_status_line(
13071298}
13081299
13091300/// Format token count: 1234 → "1.2k", 500 → "500"
1301+ #[ allow( dead_code) ]
13101302fn format_token_count ( tokens : u64 ) -> String {
13111303 if tokens >= 1_000_000 {
13121304 format ! ( "{:.1}M" , tokens as f64 / 1_000_000.0 )
You can’t perform that action at this time.
0 commit comments