Skip to content

Commit

Permalink
Fix screen clearing ANSI code in updater
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhinham committed Apr 13, 2022
1 parent 5fdcfa6 commit ae0e146
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/mt32pi_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
# - Fix ignore list on Windows.
# - Continue anyway if version number invalid (e.g. test build).
# - Fix self-update file encoding on Windows.
# - Fix screen clearing ANSI code.
#
# 0.2.1 - 2022-04-04
# - Implemented retries for timed-out/failed FTP operations.
Expand Down Expand Up @@ -112,7 +113,7 @@
)

if HAVE_ANSI:
CLEAR_TERM = "\033c"
CLEAR_TERM = "\033[H\033[J"
COLOR_RED = "\033[31;1m"
COLOR_GREEN = "\033[32;1m"
COLOR_YELLOW = "\033[33;1m"
Expand Down

0 comments on commit ae0e146

Please sign in to comment.