Skip to content

Commit 481188c

Browse files
committed
docs(input): update bindings documentation
Binding documentation was missing the updates from the recent copy paste updates.
1 parent b85f99c commit 481188c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/textual/widgets/_input.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,18 +128,27 @@ class Input(ScrollView):
128128
| Key(s) | Description |
129129
| :- | :- |
130130
| left | Move the cursor left. |
131+
| shift+left | Move cursor left and select. |
131132
| ctrl+left | Move the cursor one word to the left. |
132133
| right | Move the cursor right or accept the completion suggestion. |
134+
| ctrl+shift+left | Move cursor left a word and select. |
135+
| shift+right | Move cursor right and select. |
133136
| ctrl+right | Move the cursor one word to the right. |
134137
| backspace | Delete the character to the left of the cursor. |
138+
| ctrl+shift+right | Move cursor right a word and select. |
135139
| home,ctrl+a | Go to the beginning of the input. |
136140
| end,ctrl+e | Go to the end of the input. |
141+
| shift+home | Select up to the input start. |
142+
| shift+end | Select up to the input end. |
137143
| delete,ctrl+d | Delete the character to the right of the cursor. |
138144
| enter | Submit the current value of the input. |
139145
| ctrl+w | Delete the word to the left of the cursor. |
140146
| ctrl+u | Delete everything to the left of the cursor. |
141147
| ctrl+f | Delete the word to the right of the cursor. |
142148
| ctrl+k | Delete everything to the right of the cursor. |
149+
| ctrl+x | Cut selected text. |
150+
| ctrl+c | Copy selected text. |
151+
| ctrl+v | Paste text from the clipboard. |
143152
"""
144153

145154
COMPONENT_CLASSES: ClassVar[set[str]] = {

0 commit comments

Comments
 (0)