mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-10 02:21:50 +00:00
Revert "resolves Eugeny/tabby#7751, Eugeny/tabby#8062, Eugeny/tabby#6617 add configurable behavior when session ends"
This reverts commit 268af8806c
.
This commit is contained in:
@@ -225,24 +225,6 @@ div.mt-4
|
||||
(ngModelChange)='config.save()',
|
||||
)
|
||||
|
||||
.mt-4
|
||||
h3(translate) Closing
|
||||
|
||||
.form-line
|
||||
.header
|
||||
.title(translate) Tab's behavior when session ends
|
||||
.description(*ngIf='config.store.terminal.behaviorOnSessionEnds.startsWith("reconnect-or")', translate) Automatically reconnect the Serial, Telnet or SSH session
|
||||
|
||||
select.form-control(
|
||||
[(ngModel)]='config.store.terminal.behaviorOnSessionEnds',
|
||||
(ngModelChange)='config.save()'
|
||||
)
|
||||
option(ngValue='keep-open', translate) Keep open
|
||||
option(ngValue='reconnect-or-keep-open', translate) Reconnect, otherwise keep open
|
||||
option(ngValue='reconnect-or-close', translate) Reconnect, otherwise close
|
||||
option(ngValue='close', translate) Close
|
||||
|
||||
|
||||
div.mt-4(*ngIf='hostApp.platform === Platform.Windows')
|
||||
h3(translate) Windows
|
||||
|
||||
|
@@ -24,7 +24,6 @@ export class TerminalConfigProvider extends ConfigProvider {
|
||||
hideCloseButton: false,
|
||||
hideTabOptionsButton: false,
|
||||
rightClick: 'menu',
|
||||
behaviorOnSessionEnds: 'keep-open',
|
||||
pasteOnMiddleClick: true,
|
||||
copyOnSelect: false,
|
||||
copyAsHTML: true,
|
||||
|
Reference in New Issue
Block a user