mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix toggle example
This commit is contained in:
@@ -12,7 +12,7 @@ with open("richreadme.md", "rt") as fh:
|
||||
|
||||
class MyApp(App):
|
||||
|
||||
KEYS = {"q": "quit", "ctrl+c": "quit"}
|
||||
KEYS = {"q": "quit", "ctrl+c": "quit", "b": "view.toggle('left')"}
|
||||
|
||||
async def on_startup(self, event: events.Startup) -> None:
|
||||
await self.view.mount_all(
|
||||
|
||||
Reference in New Issue
Block a user