Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
IngoMeyer441 committed Dec 15, 2023
2 parents daf416d + 5830a67 commit 7f8f06f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simple_term_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
__email__ = "[email protected]"
__copyright__ = "Copyright © 2021 Forschungszentrum Jülich GmbH. All rights reserved."
__license__ = "MIT"
__version_info__ = (1, 6, 3)
__version_info__ = (1, 6, 4)
__version__ = ".".join(map(str, __version_info__))


Expand Down Expand Up @@ -1473,7 +1473,7 @@ def _read_next_key(self, ignore_case: bool = True) -> str:
self._paint_menu()
self._paint_before_next_read = False
# blocks until any amount of bytes is available
code = os.read(self._tty_in.fileno(), 80).decode("ascii", errors="ignore")
code = os.read(self._tty_in.fileno(), 80).decode("utf-8", errors="ignore")
self._reading_next_key = False
if code in self._terminal_code_to_codename:
return self._terminal_code_to_codename[code]
Expand Down

0 comments on commit 7f8f06f

Please sign in to comment.