|
|
@ -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' |
|
|
|
}, |
|
|
|
}, |
|
|
|
] |
|
|
|
] |
|
|
|