Skip to content

Commit

Permalink
feat: begin to add keys to _SPECIAL_KEYS dict (arrow keys)
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed Apr 26, 2024
1 parent 93c2e24 commit c85a814
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/acurses.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,13 @@ def _write(string: str) -> int:

_ANSI_RESET = "\033[0m"

_SPECIAL_KEYS: dict[str, tuple[int, ...]] = {"27": (27, -1)}
_SPECIAL_KEYS: dict[str, set[int]] = {
"27": {27, -1},
"27-91-65": {259},
"27-91-66": {258},
"27-91-67": {261},
"27-91-68": {260},
}
_SHORT_TIME_SECONDS = 0.01


Expand Down

0 comments on commit c85a814

Please sign in to comment.