Skip to content

Commit ae49d55

Browse files
committed
fix typo
1 parent daec531 commit ae49d55

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/guide/actions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,16 +207,16 @@ Textual supports the following builtin actions which are defined on the app.
207207
- [action_add_class][textual.app.App.action_add_class]
208208
- [action_back][textual.app.App.action_back]
209209
- [action_bell][textual.app.App.action_bell]
210-
- [action_check_bindings][textual.app.App.action_check_bindings]
211-
- [action_focus][textual.app.App.action_focus]
212210
- [action_focus_next][textual.app.App.action_focus_next]
213211
- [action_focus_previous][textual.app.App.action_focus_previous]
212+
- [action_focus][textual.app.App.action_focus]
214213
- [action_pop_screen][textual.app.App.action_pop_screen]
215214
- [action_push_screen][textual.app.App.action_push_screen]
216215
- [action_quit][textual.app.App.action_quit]
217216
- [action_remove_class][textual.app.App.action_remove_class]
218217
- [action_screenshot][textual.app.App.action_screenshot]
219-
- [action_switch_screen][textual.app.App.action_switch_screen]
218+
- [action_simulate_key][textual.app.App.ction_simulate_ky]
220219
- [action_suspend_process][textual.app.App.action_suspend_process]
220+
- [action_switch_screen][textual.app.App.action_switch_screen]
221221
- [action_toggle_class][textual.app.App.action_toggle_class]
222222
- [action_toggle_dark][textual.app.App.action_toggle_dark]

src/textual/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3471,7 +3471,7 @@ def _watch_app_focus(self, focus: bool) -> None:
34713471
# Remove focus for now.
34723472
self.screen.set_focus(None)
34733473

3474-
async def action_simulate_ky(self, key: str) -> None:
3474+
async def action_simulate_key(self, key: str) -> None:
34753475
"""An [action](/guide/actions) to handle a key press using the binding system.
34763476
34773477
Args:

0 commit comments

Comments
 (0)