Skip to content

Commit

Permalink
fix: removing useless variables
Browse files Browse the repository at this point in the history
  • Loading branch information
petereon committed Sep 28, 2023
1 parent 908ef89 commit 0d95330
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yakh/_yakh.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def __get_key() -> str:
tty.setraw(fd_input)
ch_str = ""
try:
rlist, _, _ = select.select([sys.stdin], [], [], None) # Set a timeout
while rlist:
select.select([sys.stdin], [], [], None)
while True:
ch_stri = sys.stdin.read(1)
if ch_stri == "":
break
Expand Down

0 comments on commit 0d95330

Please sign in to comment.