fix toggle example

This commit is contained in:
Will McGugan
2021-06-14 21:33:20 +01:00
parent 8c63c6cb0e
commit c41bced804

View File

@@ -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(