Skip to content

Commit 457e1e2

Browse files
committed
fix: add clear_all method to console class
1 parent 17ecbe7 commit 457e1e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/_pyrepl/console.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ def clear(self) -> None:
114114
"""Wipe the screen"""
115115
...
116116

117+
def clear_all(self) -> None:
118+
"""Clear screen and scrollback buffer."""
119+
...
120+
117121
@abstractmethod
118122
def finish(self) -> None:
119123
"""Move the cursor to the end of the display and otherwise get

0 commit comments

Comments
 (0)