catch control-c action.

This commit is contained in:
2023-05-23 11:48:09 +09:00
parent 9d62d3fb6a
commit 9ed9c4d0f2
3 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,6 @@ from typing import IO, Any
if os.name == "nt":
import msvcrt
elif os.name == "posix":
import fcntl