mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-08 22:38:05 -05:00
Co-authored-by: shikaixuan <shikaixuan@baidu.com>
This commit is contained in:
@@ -217,7 +217,7 @@ class RollingLogger:
|
||||
r"""'\033[F' moves the cursor up one line."""
|
||||
if amount == -1:
|
||||
amount = self.max_lines
|
||||
self._write('\033[F' * (self.max_lines))
|
||||
self._write('\033[F' * amount)
|
||||
self._flush()
|
||||
|
||||
def replace_current_line(self, line: str = '') -> None:
|
||||
|
||||
Reference in New Issue
Block a user