@@ -101,6 +101,7 @@ export default function MessageInput({
101101 e : "\x05" , // Ctrl+E (end of line)
102102 w : "\x17" , // Ctrl+W (delete word)
103103 u : "\x15" , // Ctrl+U (clear line)
104+ r : "\x12" , // Ctrl+R (reverse history search)
104105 } ;
105106
106107 if ( ctrlMappings [ e . key . toLowerCase ( ) ] ) {
@@ -168,7 +169,7 @@ export default function MessageInput({
168169 </ div >
169170 < span className = "ml-3 text-xs text-gray-600" >
170171 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
172173 </ span >
173174 </ div >
174175
@@ -209,7 +210,7 @@ export default function MessageInput({
209210 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"
210211 >
211212 { 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.)"
213214 : "Click or focus this area to send keystrokes to terminal" }
214215 </ div >
215216 ) : (
0 commit comments