This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from textual.app import App, ComposeResult | |
from textual.widget import Widget | |
from textual.widgets import Static, Rule | |
from textual.containers import Vertical, Horizontal, VerticalScroll | |
from rich.text import Text | |
from typing import Callable | |
DEFAULT_SELECTED_FORMAT = "\\[{v} [@click='klick({i})']x[/]]" | |
DEFAULT_UNSELECTED_FORMAT = "\\[[@click='klick({i})']{v}[/]]" |
OlderNewer