mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 00:56:06 +00:00
@@ -58,7 +58,10 @@ export class TerminalTabComponent extends BaseTerminalTabComponent {
|
|||||||
|
|
||||||
initializeSession (columns: number, rows: number): void {
|
initializeSession (columns: number, rows: number): void {
|
||||||
if (this.profile.options.runAsAdministrator && this.uac.isAvailable) {
|
if (this.profile.options.runAsAdministrator && this.uac.isAvailable) {
|
||||||
this.profile.options = this.uac.patchSessionOptionsForUAC(this.profile.options)
|
this.profile = {
|
||||||
|
...this.profile,
|
||||||
|
options: this.uac.patchSessionOptionsForUAC(this.profile.options),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.session!.start({
|
this.session!.start({
|
||||||
|
Reference in New Issue
Block a user