Linux pause function

This commit is contained in:
naibo 2023-07-09 22:44:44 +08:00
parent edc33cd2e0
commit 9774e6d4c0
2 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1532,8 +1532,9 @@ if __name__ == '__main__':
with Listener(on_press=on_press_creator(press_time, event), on_release=on_release_creator(event, press_time)) as listener:
listener.join()
except:
print("您的操作系统不支持暂停功能。")
print("Your operating system does not support the pause function.")
pass
# print("您的操作系统不支持暂停功能。")
# print("Your operating system does not support the pause function.")
# print("线程长度:", len(threads) )