mirror of
https://github.com/openai/codex.git
synced 2026-05-02 04:11:39 +03:00
feat(tui) /clear (#12444)
# /clear feature! /clear will clear your terminal while preserving the context/state of the thread.
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user