We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c98f43d commit 4e9c8edCopy full SHA for 4e9c8ed
devenv-shell/src/session.rs
@@ -367,6 +367,14 @@ impl ShellSession {
367
task_runner.run_with_vt(&mut task_rx, &mut vt).await?;
368
}
369
370
+ // Clear VT so internal task output (env exports, markers, drain
371
+ // sentinels) is not rendered to the user. Send Ctrl-L so bash
372
+ // redraws a clean prompt; the response will arrive via the
373
+ // event loop.
374
+ vt.feed_str("\x1b[2J\x1b[H");
375
+ let _ = pty.write_all(&[0x0C]);
376
+ let _ = pty.flush();
377
+
378
// Signal TUI that initial build is complete and we're ready for terminal
379
tracing::trace!("session: sending backend_done_tx");
380
let _ = handoff.backend_done_tx.send(());
0 commit comments