Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17fd374

Browse files
authored
Use a better colour for gray (#13338)
1 parent 678ea18 commit 17fd374

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypy/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def parse_gray_color(cup: bytes) -> str:
525525
if sys.platform == "win32":
526526
assert False, "curses is not available on Windows"
527527
set_color = "".join([cup[:-1].decode(), "m"])
528-
gray = curses.tparm(set_color.encode("utf-8"), 1, 89).decode()
528+
gray = curses.tparm(set_color.encode("utf-8"), 1, 9).decode()
529529
return gray
530530

531531

0 commit comments

Comments
 (0)