@@ -84,7 +84,12 @@ class Input(ScrollView):
84
84
"Move cursor left a word and select" ,
85
85
show = False ,
86
86
),
87
- Binding ("right" , "cursor_right" , "Move cursor right" , show = False ),
87
+ Binding (
88
+ "right" ,
89
+ "cursor_right" ,
90
+ "Move cursor right or accept the completion suggestion" ,
91
+ show = False ,
92
+ ),
88
93
Binding (
89
94
"shift+right" ,
90
95
"cursor_right(True)" ,
@@ -123,18 +128,27 @@ class Input(ScrollView):
123
128
| Key(s) | Description |
124
129
| :- | :- |
125
130
| left | Move the cursor left. |
131
+ | shift+left | Move cursor left and select. |
126
132
| ctrl+left | Move the cursor one word to the left. |
127
133
| 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. |
128
136
| ctrl+right | Move the cursor one word to the right. |
129
137
| backspace | Delete the character to the left of the cursor. |
138
+ | ctrl+shift+right | Move cursor right a word and select. |
130
139
| home,ctrl+a | Go to the beginning of the input. |
131
140
| 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. |
132
143
| delete,ctrl+d | Delete the character to the right of the cursor. |
133
144
| enter | Submit the current value of the input. |
134
145
| ctrl+w | Delete the word to the left of the cursor. |
135
146
| ctrl+u | Delete everything to the left of the cursor. |
136
147
| ctrl+f | Delete the word to the right of the cursor. |
137
148
| 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. |
138
152
"""
139
153
140
154
COMPONENT_CLASSES : ClassVar [set [str ]] = {
0 commit comments