diff --git a/docs/examples/actions/quiter.py b/docs/examples/actions/quiter.py new file mode 100644 index 000000000..53ff19356 --- /dev/null +++ b/docs/examples/actions/quiter.py @@ -0,0 +1,9 @@ +from textual.app import App + + +class Quiter(App): + async def on_load(self): + await self.bind("q", "quit") + + +Quiter.run()