|
@@ -1,6 +1,7 @@
|
|
|
import './ActionButton.js' // To define action-button
|
|
import './ActionButton.js' // To define action-button
|
|
|
import { ExecutionDialog } from './ExecutionDialog.js'
|
|
import { ExecutionDialog } from './ExecutionDialog.js'
|
|
|
import { Terminal } from '@xterm/xterm'
|
|
import { Terminal } from '@xterm/xterm'
|
|
|
|
|
+import { FitAddon } from '@xterm/addon-fit'
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* This is a weird function that just sets some globals.
|
|
* This is a weird function that just sets some globals.
|
|
@@ -13,6 +14,10 @@ export function initMarshaller () {
|
|
|
convertEol: true
|
|
convertEol: true
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
+ const fitAddon = new FitAddon()
|
|
|
|
|
+ window.terminal.loadAddon(fitAddon)
|
|
|
|
|
+ window.terminal.fit = fitAddon
|
|
|
|
|
+
|
|
|
window.executionDialog = new ExecutionDialog()
|
|
window.executionDialog = new ExecutionDialog()
|
|
|
|
|
|
|
|
window.logEntries = {}
|
|
window.logEntries = {}
|