Formatting fixes.
This commit is contained in:
parent
c13628119e
commit
163f8c3961
|
@ -24,11 +24,9 @@ import time
|
||||||
import toml
|
import toml
|
||||||
import termios
|
import termios
|
||||||
|
|
||||||
|
|
||||||
def _quit():
|
def _quit():
|
||||||
termios.tcsetattr(sys.stdin.fileno(), termios.TCSADRAIN, TERM_FLAGS)
|
termios.tcsetattr(sys.stdin.fileno(), termios.TCSADRAIN, TERM_FLAGS)
|
||||||
|
|
||||||
|
|
||||||
atexit.register(_quit)
|
atexit.register(_quit)
|
||||||
|
|
||||||
TERM_FLAGS = termios.tcgetattr(sys.stdin.fileno())
|
TERM_FLAGS = termios.tcgetattr(sys.stdin.fileno())
|
||||||
|
|
Loading…
Reference in New Issue