Merge pull request #732 from Textualize/event-char

added char attribute to Text event
This commit is contained in:
Will McGugan
2022-09-04 11:17:03 +01:00
committed by GitHub
10 changed files with 78 additions and 34 deletions

17
sandbox/will/input.py Normal file
View File

@@ -0,0 +1,17 @@
from textual.app import App
from textual.widgets import TextInput
class InputApp(App):
CSS = """
TextInput {
}
"""
def compose(self):
yield TextInput(initial="foo")
app = InputApp()