From b1752bd0b4d5064bd7fb4c97feba439be3244065 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sun, 7 Feb 2021 13:44:17 +0100 Subject: [PATCH] updated cwd settings UI --- .../src/components/shellSettingsTab.component.pug | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/terminus-terminal/src/components/shellSettingsTab.component.pug b/terminus-terminal/src/components/shellSettingsTab.component.pug index 8e54b10c..78e5bdff 100644 --- a/terminus-terminal/src/components/shellSettingsTab.component.pug +++ b/terminus-terminal/src/components/shellSettingsTab.component.pug @@ -57,15 +57,14 @@ h3.mb-3 Shell .form-line .header - .title Always Use Working Directory - .description - div By default, new terminals will open where the previous terminal was working. - div Enabling this option will always launch new terminals in the working directory specified above. + .title Directory for new tabs - toggle( + select.form-control( [(ngModel)]='config.store.terminal.alwaysUseWorkingDirectory', - (ngModelChange)='config.save()' + (ngModelChange)='config.save()', ) + option([ngValue]='false') Same as active tab's directory + option([ngValue]='true') The working directory from above .form-line.align-items-start .header @@ -97,7 +96,7 @@ h3.mt-3 Saved Profiles button.btn.btn-outline-danger.ml-1((click)='$event.stopPropagation(); deleteProfile(profile)') i.fas.fa-trash -.mb-4(ngbDropdown, placement='top-left') +.pb-4(ngbDropdown, placement='top-left') button.btn.btn-primary(ngbDropdownToggle) i.fas.fa-fw.fa-plus | New profile