Skip to content

Commit

Permalink
remove errors from local version of wrap_tkinter
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed Oct 18, 2023
1 parent 7f9cce0 commit 7ec3b23
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/wrap_tkinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ def _handle_key(self, event: Event) -> None: # pylint: disable=too-many-return-
special_keys: dict[int, _Key] = {
22: _Key("Backspace", 8, ctrl=23),
23: _Key("Tab", 9, shift=353),
# TODO: Maybe shift tab should be 2 shift escapes + 90?
36: _Key("Return", 10),
110: _Key("Home", 72, escape="none" * 2),
111: _Key("Up", 259),
Expand All @@ -162,7 +161,6 @@ def _handle_key(self, event: Event) -> None: # pylint: disable=too-many-return-
115: _Key("End", 72, escape="none" * 2),
116: _Key("Down", 258),
119: _Key("Delete", 330, ctrl=100, escape="ctrl"),
# TODO: Maybe delete should be 3 none escapes + 51?
}
if event.keycode in special_keys:
if shift:
Expand Down

0 comments on commit 7ec3b23

Please sign in to comment.