aboutsummaryrefslogtreecommitdiff
path: root/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.rs')
-rw-r--r--src/ui.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui.rs b/src/ui.rs
index 2e1acc56..a27388db 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -85,6 +85,7 @@ pub(super) fn spinner_frame(tick: u32) -> &'static str {
/// Compute view geometry and reconcile pane sizes.
/// Called before render to separate mutation from drawing.
+#[cfg_attr(not(test), allow(dead_code))]
pub fn compute_view(app: &mut AppState, area: Rect) {
compute_view_internal(
app,