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. 3
      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 } })
}) })
@ -215,4 +214,4 @@ const themeCollection = [
themeName: 'Pride', backgroundColor: '#f1eef6', textColor: '#343a40', themeName: 'Pride', backgroundColor: '#f1eef6', textColor: '#343a40',
shapeColor: '#343a40', fillColor: '#f8fafe' shapeColor: '#343a40', fillColor: '#f8fafe'
}, },
] ]

Loading…
Cancel
Save