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

Method get_cursor_coords

bpython/urwid.py:356–360  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

354 return self._bpy_selectable
355
356 def get_cursor_coords(self, *args, **kwargs):
357 # urwid gets confused if a nonselectable widget has a cursor position.
358 if not self._bpy_selectable:
359 return None
360 return super().get_cursor_coords(*args, **kwargs)
361
362 def render(self, size, focus=False):
363 # XXX I do not want to have to do this, but listbox gets confused

Callers

nothing calls this directly

Calls 1

get_cursor_coordsMethod · 0.45

Tested by

no test coverage detected