Fix new msg not shown (#218)

This commit is contained in:
Nameless 2021-04-23 20:36:41 +03:00 committed by GitHub
parent bba72ef534
commit 81d5cc0103
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ class Win:
def __init__(self, win: window):
self.win = win
def addstr(self, y: int, x: int, _str: str, attr: Any = None) -> None:
def addstr(self, y: int, x: int, _str: str, attr: int = 0) -> None:
try:
return self.win.addstr(y, x, _str, attr)
except Exception: