File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 309309 </ div >
310310 </ div >
311311
312- < iframe id ="vibora-frame " sandbox ="allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-modals allow-downloads allow-clipboard-read allow-clipboard-write "> </ iframe >
312+ < iframe id ="vibora-frame " sandbox ="allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-modals allow-downloads "> </ iframe >
313313
314314 < div id ="zoom-trigger "> </ div >
315315 < div id ="zoom-controls ">
Original file line number Diff line number Diff line change @@ -537,24 +537,14 @@ export function useTerminalWS(options: UseTerminalWSOptions = {}): UseTerminalWS
537537 ( terminalId : string , xterm : XTerm , options ?: AttachXtermOptions ) => {
538538 xtermMapRef . current . set ( terminalId , xterm )
539539
540- // Handle special keyboard shortcuts
540+ // Handle Shift+Enter to insert a newline for Claude Code multi-line input
541541 xterm . attachCustomKeyEventHandler ( ( event : KeyboardEvent ) => {
542- // Handle Shift+Enter to insert a newline for Claude Code multi-line input
543542 if ( event . type === 'keydown' && event . shiftKey && event . key === 'Enter' ) {
544543 event . preventDefault ( )
545544 event . stopPropagation ( )
546545 writeToTerminal ( terminalId , '\n' )
547546 return false // Prevent xterm from processing (would send regular CR)
548547 }
549-
550- // Handle Cmd+A (Mac) / Ctrl+A (Windows/Linux) for select all
551- // xterm.js doesn't bind this by default since Ctrl+A is readline's "go to beginning"
552- if ( event . type === 'keydown' && ( event . metaKey || event . ctrlKey ) && event . key === 'a' ) {
553- event . preventDefault ( )
554- xterm . selectAll ( )
555- return false
556- }
557-
558548 return true // Allow all other keys to be processed normally
559549 } )
560550
You can’t perform that action at this time.
0 commit comments