Add pasteOnMiddleClickOption

This commit is contained in:
LeSeulArtichaut 2019-12-28 22:18:24 +01:00
parent b6c97ffa49
commit 500acee064
2 changed files with 11 additions and 0 deletions

View File

@ -57,6 +57,15 @@ h3.mb-3 Terminal
) )
| Paste | Paste
.form-line
.header
.title Paste on middle-click
toggle(
[(ngModel)]='config.store.terminal.pasteOnMiddleClick',
(ngModelChange)='config.save()',
)
.form-line .form-line
.header .header
.title Auto-open a terminal on app start .title Auto-open a terminal on app start

View File

@ -25,6 +25,7 @@ export class TerminalConfigProvider extends ConfigProvider {
cursorBlink: true, cursorBlink: true,
customShell: '', customShell: '',
rightClick: 'menu', rightClick: 'menu',
pasteOnMiddleClick: true,
copyOnSelect: false, copyOnSelect: false,
scrollOnInput: true, scrollOnInput: true,
workingDirectory: '', workingDirectory: '',
@ -113,6 +114,7 @@ export class TerminalConfigProvider extends ConfigProvider {
shell: 'clink', shell: 'clink',
profile: 'cmd-clink', profile: 'cmd-clink',
rightClick: 'paste', rightClick: 'paste',
pasteOnMiddleClick: false,
copyOnSelect: true, copyOnSelect: true,
}, },
hotkeys: { hotkeys: {