Capture all mouse events and take into account mouse attributes, fixes #58
This commit is contained in:
@ -21,7 +21,7 @@ class TermManager: # pragma: no cover
|
||||
# make cursor invisible
|
||||
curses.curs_set(False)
|
||||
# Catch mouse events
|
||||
curses.mousemask(True)
|
||||
curses.mousemask(curses.ALL_MOUSE_EVENTS | curses.REPORT_MOUSE_POSITION)
|
||||
# Enable colors
|
||||
curses.start_color()
|
||||
|
||||
|
Reference in New Issue
Block a user