Correct the file included for the second key example

Not an issue with removing the bell, actually a pre-existing mistake in the
docs. The wrong file was being included.
This commit is contained in:
Dave Pearson
2022-10-19 15:24:44 +01:00
parent f648457c1e
commit 836a4e5291

View File

@@ -46,7 +46,7 @@ Textual offers a convenient way of handling specific keys. If you create a metho
Let's add a key method to the example code.
```python title="key02.py" hl_lines="15-16"
--8<-- "docs/examples/guide/input/key01.py"
--8<-- "docs/examples/guide/input/key02.py"
```
Note the addition of a `key_space` method which is called in response to the space key, and plays the terminal bell noise.