mirror of
https://github.com/paul-nameless/tg
synced 2024-11-21 19:33:09 +00:00
Fix new msg not shown (#218)
This commit is contained in:
parent
bba72ef534
commit
81d5cc0103
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue