pick-ui: don't handle the mouse
It's annoying, since it prevents linux "midle click" copy-n-paste Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7863>
This commit is contained in:
parent
96ceca33c1
commit
9ed7adc018
|
@ -28,6 +28,6 @@ from pick.ui import UI, PALETTE
|
|||
if __name__ == "__main__":
|
||||
u = UI()
|
||||
evl = urwid.AsyncioEventLoop(loop=asyncio.get_event_loop())
|
||||
loop = urwid.MainLoop(u.render(), PALETTE, event_loop=evl)
|
||||
loop = urwid.MainLoop(u.render(), PALETTE, event_loop=evl, handle_mouse=False)
|
||||
u.mainloop = loop
|
||||
loop.run()
|
||||
|
|
Loading…
Reference in New Issue