MCPcopy Create free account
hub / github.com/bpython/bpython / mouse_event

Method mouse_event

bpython/urwid.py:427–432  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

425 self._bpy_may_move_cursor = False
426
427 def mouse_event(self, *args):
428 self._bpy_may_move_cursor = True
429 try:
430 return super().mouse_event(*args)
431 finally:
432 self._bpy_may_move_cursor = False
433
434
435class BPythonListBox(urwid.ListBox):

Callers

nothing calls this directly

Calls 1

mouse_eventMethod · 0.45

Tested by

no test coverage detected