Shofel2_T124_python/venv/lib/python3.10/site-packages/urwid/tests/util.py

12 lines
186 B
Python
Raw Permalink Normal View History

2024-05-25 16:45:07 +00:00
from __future__ import annotations
import urwid
class SelectableText(urwid.Text):
def selectable(self):
return True
def keypress(self, size, key):
return key