Skip to content

Commit

Permalink
Merge 6134346 into dab8327
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Apr 25, 2023
2 parents dab8327 + 6134346 commit 2af1295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async_tkinter_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async def main_loop(root: tkinter.Tk) -> None:
"""
while True:
# Process all pending events
while root.dooneevent(_tkinter.DONT_WAIT):
while root.dooneevent(_tkinter.DONT_WAIT) > 0:
pass

try:
Expand Down

0 comments on commit 2af1295

Please sign in to comment.