mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 17:16:03 +00:00
fixes
This commit is contained in:
@@ -37,7 +37,7 @@ export class ShellSettingsTabComponent {
|
||||
this.isConPTYStable = isWindowsBuild(WIN_BUILD_CONPTY_STABLE)
|
||||
}
|
||||
|
||||
async ngOnInit (): void {
|
||||
async ngOnInit (): Promise<void> {
|
||||
this.shells = await this.terminalService.shells$.toPromise()
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ export class ShellSettingsTabComponent {
|
||||
this.configSubscription.unsubscribe()
|
||||
}
|
||||
|
||||
async reload (): void {
|
||||
async reload (): Promise<void> {
|
||||
this.profiles = await this.terminalService.getProfiles(true)
|
||||
}
|
||||
|
||||
|
@@ -98,8 +98,10 @@ export class DebugDecorator extends TerminalDecorator {
|
||||
|
||||
private async doLoadState (terminal: TerminalTabComponent) {
|
||||
const data = await this.loadFile()
|
||||
if (data) {
|
||||
terminal.frontend.restoreState(data)
|
||||
}
|
||||
}
|
||||
|
||||
private async doPasteState (terminal: TerminalTabComponent) {
|
||||
let data = this.electron.clipboard.readText()
|
||||
|
Reference in New Issue
Block a user