|
|
@ -42,12 +42,12 @@ class Terminal extends Plugin { |
|
|
|
version: string |
|
|
|
version: string |
|
|
|
data: { |
|
|
|
data: { |
|
|
|
lineLength: any // ????
|
|
|
|
lineLength: any // ????
|
|
|
|
session: any[]; activeFilters: { commands: {}; input: string }; filterFns: {} |
|
|
|
session: any[]; activeFilters: { commands: any; input: string }; filterFns: any |
|
|
|
} |
|
|
|
} |
|
|
|
_view: { el: any; bar: any; input: any; term: any; journal: any; cli: any } |
|
|
|
_view: { el: any; bar: any; input: any; term: any; journal: any; cli: any } |
|
|
|
_components: {} |
|
|
|
_components: any |
|
|
|
_commands: {} |
|
|
|
_commands: any |
|
|
|
commands: {} |
|
|
|
commands: any |
|
|
|
_JOURNAL: any[] |
|
|
|
_JOURNAL: any[] |
|
|
|
_jobs: any[] |
|
|
|
_jobs: any[] |
|
|
|
_INDEX: any |
|
|
|
_INDEX: any |
|
|
@ -103,7 +103,7 @@ class Terminal extends Plugin { |
|
|
|
this._INDEX.commandsMain = {} |
|
|
|
this._INDEX.commandsMain = {} |
|
|
|
if (opts.shell) this._shell = opts.shell // ???
|
|
|
|
if (opts.shell) this._shell = opts.shell // ???
|
|
|
|
register(this) |
|
|
|
register(this) |
|
|
|
this.event.register('debuggingRequested', async (hash) => { |
|
|
|
this.event.register('debuggingRequested', async (hash: any) => { |
|
|
|
// TODO should probably be in the run module
|
|
|
|
// TODO should probably be in the run module
|
|
|
|
if (!await this._opts.appManager.isActive('debugger')) await this._opts.appManager.activatePlugin('debugger') |
|
|
|
if (!await this._opts.appManager.isActive('debugger')) await this._opts.appManager.activatePlugin('debugger') |
|
|
|
this.call('menuicons', 'select', 'debugger') |
|
|
|
this.call('menuicons', 'select', 'debugger') |
|
|
|