From 9ed7adc0188f3baa906cd6b12d8b6e74f8c4accb Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 1 Dec 2020 13:06:04 -0800 Subject: [PATCH] pick-ui: don't handle the mouse It's annoying, since it prevents linux "midle click" copy-n-paste Reviewed-by: Eric Engestrom Part-of: --- bin/pick-ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pick-ui.py b/bin/pick-ui.py index 3aea7719246..1980f118436 100755 --- a/bin/pick-ui.py +++ b/bin/pick-ui.py @@ -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()