Input cursor styling

This commit is contained in:
Darren Burns
2024-10-21 15:43:25 +01:00
parent 0b7cd1cd78
commit b1f59f9045
6 changed files with 10 additions and 8 deletions

View File

@@ -307,6 +307,7 @@ class ChangingThemeApp(App[None]):
yield Footer()
def on_mount(self) -> None:
self.theme = "nord"
text_area = self.query_one(TextArea)
text_area.selection = Selection((0, 0), (1, 10))