Update remix-ui-xterminals.tsx

pull/4566/head
bunsenstraat 9 months ago committed by GitHub
parent a361b090c5
commit c48c9793fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      libs/remix-ui/xterm/src/lib/components/remix-ui-xterminals.tsx

@ -34,7 +34,6 @@ export const RemixUiXterminals = (props: RemixUiXterminalsProps) => {
}) })
plugin.on('xterm', 'new', async (pid: number) => { plugin.on('xterm', 'new', async (pid: number) => {
console.log('new terminal')
dispatchXterm({ type: 'SHOW_OUTPUT', payload: false }) dispatchXterm({ type: 'SHOW_OUTPUT', payload: false })
dispatchXterm({ type: 'ADD_TERMINAL', payload: { pid, queue: '', timeStamp: Date.now(), ref: null, hidden: false } }) dispatchXterm({ type: 'ADD_TERMINAL', payload: { pid, queue: '', timeStamp: Date.now(), ref: null, hidden: false } })
}) })

Loading…
Cancel
Save