Skip to content

Commit

Permalink
feat: turn on keypad in acurses wrapper to stay true to spec specifie…
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed Jun 14, 2024
1 parent 8d444b1 commit 42db553
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/acurses.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ def wrapper(func: Callable[..., _T], /, *args: list[Any], **kwds: dict[str, Any]
stdout.write("\033[s\033[2J\033[H")
stdout.flush()
stdscr = initscr()
stdscr.keypad(True)
# _curses.start_color()
return func(stdscr, *args, **kwds)
finally:
Expand Down

0 comments on commit 42db553

Please sign in to comment.