@@ -640,12 +640,9 @@ export const ChatInput: React.FC<ChatInputProps> = ({
640640 const isFocused = document . activeElement === inputRef . current ;
641641 e . preventDefault ( ) ;
642642
643- // Priority 1: Cancel editing if in edit mode
643+ // Cancel editing if in edit mode
644644 if ( editingMessage && onCancelEdit ) {
645645 onCancelEdit ( ) ;
646- } else if ( canInterrupt ) {
647- // Priority 2: Interrupt streaming if active
648- void window . api . workspace . sendMessage ( workspaceId , "" ) ;
649646 }
650647
651648 if ( isFocused ) {
@@ -680,7 +677,7 @@ export const ChatInput: React.FC<ChatInputProps> = ({
680677 // Build placeholder text based on current state
681678 const placeholder = ( ( ) => {
682679 if ( editingMessage ) {
683- return `Edit your message... (${ formatKeybind ( KEYBINDS . CANCEL ) } to cancel, ${ formatKeybind ( KEYBINDS . SEND_MESSAGE ) } to send)` ;
680+ return `Edit your message... (${ formatKeybind ( KEYBINDS . CANCEL ) } to cancel edit , ${ formatKeybind ( KEYBINDS . SEND_MESSAGE ) } to send)` ;
684681 }
685682 if ( isCompacting ) {
686683 return "Compacting conversation..." ;
@@ -689,7 +686,7 @@ export const ChatInput: React.FC<ChatInputProps> = ({
689686 // Build hints for normal input
690687 const hints : string [ ] = [ ] ;
691688 if ( canInterrupt ) {
692- hints . push ( `${ formatKeybind ( KEYBINDS . CANCEL ) } to interrupt` ) ;
689+ hints . push ( `${ formatKeybind ( KEYBINDS . INTERRUPT_STREAM ) } to interrupt` ) ;
693690 }
694691 hints . push ( `${ formatKeybind ( KEYBINDS . SEND_MESSAGE ) } to send` ) ;
695692 hints . push ( `${ formatKeybind ( KEYBINDS . OPEN_MODEL_SELECTOR ) } to change model` ) ;
0 commit comments