1 2 3 4 5 6 7 8
import urwid class SelectableText(urwid.Text): def selectable(self): return 1 def keypress(self, size, key): return key