updated cwd settings UI

This commit is contained in:
Eugene Pankov 2021-02-07 13:44:17 +01:00
parent 1e697a952a
commit b1752bd0b4
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -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