From 836a4e52913b0c9258ba6957d8c1b20b4246d5bd Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Wed, 19 Oct 2022 15:24:44 +0100 Subject: [PATCH] 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. --- docs/guide/input.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/input.md b/docs/guide/input.md index f03f4e756..968e19c7e 100644 --- a/docs/guide/input.md +++ b/docs/guide/input.md @@ -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.