From b4a17e4346c97d837d0ee3a3a55c5ceca789a3e8 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Mon, 9 Mar 2026 14:28:32 -0700 Subject: feat: use pty proxy for rendering tui popups without clearing the terminal (#3234) It feels much, much nicer this way. This has also been asked for pretty consistently since we made inline rendering the default. Now we can have everything :) Maintains a shadow vt100 renderer so that we can restore the terminal state upon popup close. This happens on a background thread, so our impact on terminal performance should still be super minimal, if anything ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing --- crates/atuin-ai/src/tui/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/atuin-ai/src/tui/mod.rs') diff --git a/crates/atuin-ai/src/tui/mod.rs b/crates/atuin-ai/src/tui/mod.rs index dbf4457b..03a9c007 100644 --- a/crates/atuin-ai/src/tui/mod.rs +++ b/crates/atuin-ai/src/tui/mod.rs @@ -1,5 +1,7 @@ pub mod app; pub mod event; +#[cfg(unix)] +pub mod popup; pub mod render; pub mod spinner; pub mod state; -- cgit v1.3.1