unify more loops, remove spaces
This commit is contained in:
parent
8663ad1ac9
commit
3f85d672a6
@ -121,7 +121,7 @@ class driver(screenDriver):
|
|||||||
watchdog = select.epoll()
|
watchdog = select.epoll()
|
||||||
watchdog.register(vcsa[currScreen], select.POLLPRI | select.POLLERR)
|
watchdog.register(vcsa[currScreen], select.POLLPRI | select.POLLERR)
|
||||||
watchdog.register(tty, select.POLLPRI | select.POLLERR)
|
watchdog.register(tty, select.POLLPRI | select.POLLERR)
|
||||||
while active.value == 1:
|
while active.value:
|
||||||
changes = watchdog.poll(1)
|
changes = watchdog.poll(1)
|
||||||
for change in changes:
|
for change in changes:
|
||||||
fileno = change[0]
|
fileno = change[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user