~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to bin/pick-ui.py

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
if __name__ == "__main__":
29
29
    u = UI()
30
 
    evl = urwid.AsyncioEventLoop(loop=asyncio.get_event_loop())
 
30
    evl = urwid.AsyncioEventLoop(loop=asyncio.new_event_loop())
31
31
    loop = urwid.MainLoop(u.render(), PALETTE, event_loop=evl, handle_mouse=False)
32
32
    u.mainloop = loop
33
33
    loop.run()