added char attribute to Text event

This commit is contained in:
Will McGugan
2022-09-04 11:02:24 +01:00
parent 1cc52bc913
commit b271ca7c2f
10 changed files with 72 additions and 29 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()