@@ -101,6 +101,7 @@ export default function MessageInput({
101
101
e : "\x05" , // Ctrl+E (end of line)
102
102
w : "\x17" , // Ctrl+W (delete word)
103
103
u : "\x15" , // Ctrl+U (clear line)
104
+ r : "\x12" , // Ctrl+R (reverse history search)
104
105
} ;
105
106
106
107
if ( ctrlMappings [ e . key . toLowerCase ( ) ] ) {
@@ -168,7 +169,7 @@ export default function MessageInput({
168
169
</ div >
169
170
< span className = "ml-3 text-xs text-gray-600" >
170
171
Switch to < span className = "font-medium" > Control</ span > mode to send
171
- raw keystrokes (↑,↓,Tab,Ctrl+C) directly to the terminal
172
+ raw keystrokes (↑,↓,Tab,Ctrl+C,Ctrl+R ) directly to the terminal
172
173
</ span >
173
174
</ div >
174
175
@@ -209,7 +210,7 @@ export default function MessageInput({
209
210
className = "flex-1 cursor-text border rounded-lg p-2 focus:outline-none focus:ring-2 focus:ring-blue-500 text-gray-500 bg-gray-50 border-blue-200 min-h-[3.5rem] flex items-center justify-center"
210
211
>
211
212
{ controlAreaFocused
212
- ? "Press any key to send to terminal (arrows, Ctrl+C, etc.)"
213
+ ? "Press any key to send to terminal (arrows, Ctrl+C, Ctrl+R, etc.)"
213
214
: "Click or focus this area to send keystrokes to terminal" }
214
215
</ div >
215
216
) : (
0 commit comments