mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Co-authored-by: shikaixuan <shikaixuan@baidu.com>
This commit is contained in:
parent
025ac7672f
commit
408f8aa50f
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user