Skip to content

Commit bb2190c

Browse files
committed
Don't handle mouse input in urwid for now.
Otherwise, you can't select things in your terminal, which is rather annoying.
1 parent 5a84b89 commit bb2190c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/urwid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def __init__(self, event_loop, palette, interpreter, config):
445445
self.main_loop = urwid.MainLoop(
446446
self.frame, palette,
447447
event_loop=event_loop, unhandled_input=self.handle_input,
448-
input_filter=input_filter)
448+
input_filter=input_filter, handle_mouse=False)
449449

450450
self.edits = []
451451
self.edit = None

0 commit comments

Comments
 (0)