Coding style.
This commit is contained in:
parent
a9b579e7d6
commit
1560db5f82
4 changed files with 7 additions and 4 deletions
3
fill3.py
3
fill3.py
|
|
@ -466,6 +466,7 @@ def main(loop, appearance_changed_event, screen_widget, exit_loop=None):
|
|||
loop.add_signal_handler(signal.SIGTERM, exit_loop)
|
||||
asyncio.ensure_future(_update_screen(screen_widget,
|
||||
appearance_changed_event))
|
||||
with terminal.hidden_cursor(), terminal.fullscreen(), _urwid_screen() as urwid_screen:
|
||||
with terminal.hidden_cursor(), terminal.fullscreen(), \
|
||||
_urwid_screen() as urwid_screen:
|
||||
loop.add_reader(sys.stdin, on_input, urwid_screen, screen_widget)
|
||||
loop.run_forever()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue