Skip to content

Commit

Permalink
feat: add NotImplemented keypad function to tcurses
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed Jun 11, 2024
1 parent e4196f3 commit 6182ef3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/tcurses.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,14 @@ def clear(self) -> None:
" " * self.width,
)

def keypad(self, flag: bool) -> None:
"""
If flag is True, enable keypad mode.
If flag is False, disable keypad mode.
"""
_ = flag
raise NotImplementedError("tcurses keypad")


ERR = -1
OK = 0
Expand Down

0 comments on commit 6182ef3

Please sign in to comment.