From e27a4ea427c9ed6248c0ee80570e94ed7b1928bd Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 28 Jul 2026 23:29:11 +0300 Subject: perf: skip rendering hidden pty updates --- src/ui/dialogs.rs | 2 +- src/ui/mobile.rs | 2 +- src/ui/sidebar.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ui') diff --git a/src/ui/dialogs.rs b/src/ui/dialogs.rs index 9575cfe9..84ce1d35 100644 --- a/src/ui/dialogs.rs +++ b/src/ui/dialogs.rs @@ -831,7 +831,7 @@ mod tests { &crate::pane::PaneLaunchEnv::default(), events, std::sync::Arc::new(tokio::sync::Notify::new()), - std::sync::Arc::new(std::sync::atomic::AtomicBool::new(false)), + std::sync::Arc::new(crate::render_signal::RenderSignal::new()), ) .unwrap(); let mut terminal_runtimes = crate::terminal::TerminalRuntimeRegistry::new(); diff --git a/src/ui/mobile.rs b/src/ui/mobile.rs index 299a152b..b7738992 100644 --- a/src/ui/mobile.rs +++ b/src/ui/mobile.rs @@ -1477,7 +1477,7 @@ mod tests { &crate::pane::PaneLaunchEnv::default(), events, std::sync::Arc::new(tokio::sync::Notify::new()), - std::sync::Arc::new(std::sync::atomic::AtomicBool::new(false)), + std::sync::Arc::new(crate::render_signal::RenderSignal::new()), ) .unwrap(); diff --git a/src/ui/sidebar.rs b/src/ui/sidebar.rs index 69193158..0a2b64ce 100644 --- a/src/ui/sidebar.rs +++ b/src/ui/sidebar.rs @@ -2258,7 +2258,7 @@ rows = [[{ token = "git_status", fg = "#123456" }]] &crate::pane::PaneLaunchEnv::default(), events, std::sync::Arc::new(tokio::sync::Notify::new()), - std::sync::Arc::new(std::sync::atomic::AtomicBool::new(false)), + std::sync::Arc::new(crate::render_signal::RenderSignal::new()), ) .unwrap(); -- cgit v1.2.3