Skip to content

Commit

Permalink
fix "clearline" command
Browse files Browse the repository at this point in the history
  • Loading branch information
HeinrichAD committed Aug 2, 2024
1 parent 2ffd547 commit 4ad4ee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dlr/ki/logging/formatter/colored_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ def format(self, record):
ColoredConsoleFormatter.MAPPING["DEBUG"]
)
colored_record.colorreset = ansi.fx.reset
colored_record.clearline = erase_line() + "\r"
colored_record.clearline = erase_line(2) + "\r"
colored_record.__dict__.update(self.ansi_dict)
return super().format(colored_record)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ name = "dlr-logging" # Required
#
# For a discussion on single-sourcing the version, see
# https://packaging.python.org/guides/single-sourcing-package-version/
version = "1.0.1.dev0" # Required
version = "1.0.1.dev1" # Required

# This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field:
Expand Down

0 comments on commit 4ad4ee5

Please sign in to comment.