MCPcopy Index your code
hub / github.com/bpython/bpython / BPythonListBox

Class BPythonListBox

bpython/urwid.py:435–443  ·  view source on GitHub ↗

Like `urwid.ListBox`, except that it does not eat up and down keys.

Source from the content-addressed store, hash-verified

433
434
435class BPythonListBox(urwid.ListBox):
436 """Like `urwid.ListBox`, except that it does not eat up and
437 down keys.
438 """
439
440 def keypress(self, size, key):
441 if key not in ("up", "down"):
442 return urwid.ListBox.keypress(self, size, key)
443 return key
444
445
446class Tooltip(urwid.BoxWidget):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected