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 2, 2024
2 parents 434f4b7 + 1a7e455 commit b03b720
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simple_term_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
__email__ = "i.meyer@fz-juelich.de"
__copyright__ = "Copyright © 2021 Forschungszentrum Jülich GmbH. All rights reserved."
__license__ = "MIT"
__version_info__ = (1, 6, 5)
__version_info__ = (1, 6, 6)
__version__ = ".".join(map(str, __version_info__))


Expand Down Expand Up @@ -972,8 +972,8 @@ def _init_term(self) -> None:
self._new_term[0] = cast(int, self._new_term[0]) & ~termios.ICRNL
# Set the timings for an unbuffered read: Return immediately after at least one character has arrived and don't
# wait for further characters
cast(list[bytes], self._new_term[6])[termios.VMIN] = b"\x01"
cast(list[bytes], self._new_term[6])[termios.VTIME] = b"\x00"
cast(List[bytes], self._new_term[6])[termios.VMIN] = b"\x01"
cast(List[bytes], self._new_term[6])[termios.VTIME] = b"\x00"
termios.tcsetattr(
self._tty_in.fileno(), termios.TCSAFLUSH, cast(List[Union[int, List[Union[bytes, int]]]], self._new_term)
)
Expand Down

0 comments on commit b03b720

Please sign in to comment.