Docs: use the action name of the shortcut in several places

This commit is contained in:
pagedown
2021-12-10 14:36:16 +08:00
parent 59957a913a
commit 8ae0ae2c93
5 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -749,7 +749,7 @@ class Boss:
@ac('misc', '''
Clear the terminal
See :sc:`reset_terminal` for details. For example::
See :sc:`reset_terminal <reset_terminal>` for details. For example::
# Reset the terminal
map kitty_mod+f9 clear_terminal reset active
+1 -1
View File
@@ -569,7 +569,7 @@ class Window:
@ac('misc', '''
Send the specified text to the active window
For details, see :sc:`send_text`.
See :sc:`send_text <send_text>` for details.
''')
def send_text(self, *args: str) -> bool:
mode = keyboard_mode_name(self.screen)