aboutsummaryrefslogtreecommitdiff
path: root/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.rs')
-rw-r--r--src/ui.rs13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/ui.rs b/src/ui.rs
index 59145dd2..bf67d9fd 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -105,15 +105,6 @@ use crate::terminal::TerminalRuntimeRegistry;
const COLLAPSED_WIDTH: u16 = 4; // num + space + dot + separator
-// Braille spinner frames — smooth rotation
-const SPINNERS: &[&str] = &["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"];
-
-/// Map spinner_tick (incremented every frame at ~60fps) to a spinner frame.
-/// We want ~8 updates/sec so divide by 8.
-pub(super) fn spinner_frame(tick: u32) -> &'static str {
- SPINNERS[(tick as usize / 8) % SPINNERS.len()]
-}
-
/// Compute view geometry and reconcile pane sizes.
/// Called before render to separate mutation from drawing.
#[cfg_attr(not(test), allow(dead_code))]
@@ -401,7 +392,7 @@ pub fn render_with_runtime_registry(
let tab_bar_area = app.view.tab_bar_rect;
let terminal_area = app.view.terminal_area;
- render_working_animation(app, terminal_runtimes, frame);
+ render_navigation_chrome(app, terminal_runtimes, frame);
if app.view.layout != ViewLayout::Mobile {
render_tab_bar(app, frame, tab_bar_area);
}
@@ -452,7 +443,7 @@ pub fn render_with_runtime_registry(
}
}
-pub(crate) fn render_working_animation(
+fn render_navigation_chrome(
app: &AppState,
terminal_runtimes: &TerminalRuntimeRegistry,
frame: &mut Frame,