feat(tui) /clear (#12444)

# /clear feature! 

/clear will clear your terminal while preserving the context/state of
the thread.
This commit is contained in:
Won Park
2026-02-21 22:06:56 -08:00
committed by GitHub
parent 37610240ec
commit 82d3c9ed76
11 changed files with 299 additions and 3 deletions

View File

@@ -174,6 +174,9 @@ where
if should_update_area {
terminal.set_viewport_area(area);
}
if wrapped_lines > 0 {
terminal.note_history_rows_inserted(wrapped_lines);
}
Ok(())
}