A focused Docker Compose management web application.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: xterm keyboard trap

Brooke 83b9f5ea 4990c558

+5 -1
+5 -1
packages/panel/src/lib/component/LogTerminal.svelte
··· 34 34 ); 35 35 36 36 const terminal: Attachment<HTMLElement> = (el) => { 37 - const terminal = new Terminal({ theme }); 37 + const terminal = new Terminal({ theme, disableStdin: true }); 38 38 const fitAddon = new FitAddon(); 39 39 40 40 terminal.loadAddon(new WebLinksAddon()); 41 41 terminal.loadAddon(fitAddon); 42 42 terminal.open(el); 43 + 44 + // Remove the textarea from tab order 45 + const textarea = el.querySelector("textarea"); 46 + if (textarea) textarea.tabIndex = -1; 43 47 44 48 fitAddon.fit(); 45 49 const observer = new ResizeObserver(() => fitAddon.fit());