mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-23 05:03:36 +03:00
fixed #7841 - clear SSH service messages by default
This commit is contained in:
parent
842636aa15
commit
7491c3119f
@ -61,4 +61,12 @@ h3 SSH
|
||||
(ngModelChange)='config.save()'
|
||||
)
|
||||
|
||||
.form-line
|
||||
.header
|
||||
.title(translate) Clear terminal after connection
|
||||
toggle(
|
||||
[(ngModel)]='config.store.ssh.clearServiceMessagesOnConnect',
|
||||
(ngModelChange)='config.save()',
|
||||
)
|
||||
|
||||
.alert.alert-info(translate) SSH connection management is now done through the "Profiles & connections" tab
|
||||
|
@ -199,6 +199,11 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
|
||||
})
|
||||
|
||||
await session.start()
|
||||
|
||||
if (this.config.store.ssh.clearServiceMessagesOnConnect) {
|
||||
this.frontend?.clear()
|
||||
}
|
||||
|
||||
this.session?.resize(this.size.columns, this.size.rows)
|
||||
}
|
||||
|
||||
|
@ -11,6 +11,7 @@ export class SSHConfigProvider extends ConfigProvider {
|
||||
x11Display: null,
|
||||
knownHosts: [],
|
||||
verifyHostKeys: true,
|
||||
clearServiceMessagesOnConnect: true,
|
||||
},
|
||||
hotkeys: {
|
||||
'restart-ssh-session': [],
|
||||
|
Loading…
Reference in New Issue
Block a user