mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
#7315 - added terminal identification option on windows
This commit is contained in:
@@ -108,6 +108,18 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
|
||||
(ngModelChange)='config.save()'
|
||||
)
|
||||
|
||||
.form-line.content-box(*ngIf='hostApp.platform === Platform.Windows')
|
||||
.header
|
||||
.title(translate) Terminal identification
|
||||
.description(translate) How Tabby presents itself through environment vars
|
||||
|
||||
select.form-control(
|
||||
[(ngModel)]='config.store.terminal.identification',
|
||||
(ngModelChange)='config.save()',
|
||||
)
|
||||
option(ngValue='wt', translation) Windows Terminal
|
||||
option(ngValue='cygwin', translation) Cygwin
|
||||
|
||||
.form-line.content-box
|
||||
.header
|
||||
.title(translate) Default profile settings
|
||||
|
@@ -4,7 +4,7 @@ import slugify from 'slugify'
|
||||
import deepClone from 'clone-deep'
|
||||
import { Component, Inject } from '@angular/core'
|
||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
|
||||
import { ConfigService, HostAppService, Profile, SelectorService, ProfilesService, PromptModalComponent, PlatformService, BaseComponent, PartialProfile, ProfileProvider, TranslateService } from 'tabby-core'
|
||||
import { ConfigService, HostAppService, Profile, SelectorService, ProfilesService, PromptModalComponent, PlatformService, BaseComponent, PartialProfile, ProfileProvider, TranslateService, Platform } from 'tabby-core'
|
||||
import { EditProfileModalComponent } from './editProfileModal.component'
|
||||
|
||||
interface ProfileGroup {
|
||||
@@ -28,6 +28,7 @@ export class ProfilesSettingsTabComponent extends BaseComponent {
|
||||
templateProfiles: PartialProfile<Profile>[] = []
|
||||
profileGroups: ProfileGroup[]
|
||||
filter = ''
|
||||
Platform = Platform
|
||||
|
||||
constructor (
|
||||
public config: ConfigService,
|
||||
|
Reference in New Issue
Block a user