Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/user_interaction.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-06-10 15:27:02 +0200
committerAnton Hvornum <anton@hvornum.se>2021-06-10 15:27:02 +0200
commit0946b73095dffe343f3ee8f622a565b77a6e8871 (patch)
tree116f2cddb95712aa0b11f2e9c6b0f43303840a3d /archinstall/lib/user_interaction.py
parente8d38ea1a75a33d820ac32c995a80c1bc833a44d (diff)
parentfcd0acfef261ad83f0d470957f94e6b046f66411 (diff)
Merging in latest changes from master.
Diffstat (limited to 'archinstall/lib/user_interaction.py')
-rw-r--r--archinstall/lib/user_interaction.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 50f3be9a..4f99820d 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -7,9 +7,7 @@ import select # Used for char by char polling of sys.stdin
import shutil
import signal
import sys
-import termios
import time
-import tty
from .disk import BlockDevice
from .exceptions import *
@@ -285,6 +283,8 @@ class MiniCurses:
def get_keyboard_input(self, strip_rowbreaks=True, end='\n'):
assert end in ['\r', '\n', None]
+ import termios
+ import tty
poller = select.epoll()
response = ''