mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
added char attribute to Text event
This commit is contained in:
17
sandbox/will/input.py
Normal file
17
sandbox/will/input.py
Normal 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()
|
||||
Reference in New Issue
Block a user