|
|
@ -6,7 +6,7 @@ import { QueryParams } from '@remix-project/remix-lib' |
|
|
|
const profile: Profile = { |
|
|
|
const profile: Profile = { |
|
|
|
name: 'layout', |
|
|
|
name: 'layout', |
|
|
|
description: 'layout', |
|
|
|
description: 'layout', |
|
|
|
methods: ['minimize', 'maximiseSidePanel', 'resetSidePanel'] |
|
|
|
methods: ['minimize', 'maximiseSidePanel', 'resetSidePanel', 'maximizeTerminal'] |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface panelState { |
|
|
|
interface panelState { |
|
|
@ -109,6 +109,12 @@ export class Layout extends Plugin { |
|
|
|
this.maximised[current] = true |
|
|
|
this.maximised[current] = true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async maximizeTerminal() { |
|
|
|
|
|
|
|
this.panels.terminal.minimized = false |
|
|
|
|
|
|
|
this.event.emit('change', this.panels) |
|
|
|
|
|
|
|
this.emit('change', this.panels) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async resetSidePanel () { |
|
|
|
async resetSidePanel () { |
|
|
|
this.event.emit('resetsidepanel') |
|
|
|
this.event.emit('resetsidepanel') |
|
|
|
const current = await this.call('sidePanel', 'currentFocus') |
|
|
|
const current = await this.call('sidePanel', 'currentFocus') |
|
|
|