diff --git a/Sources/Models/TmuxSession.swift b/Sources/Models/TmuxSession.swift index 48fdd112..52e3197c 100644 --- a/Sources/Models/TmuxSession.swift +++ b/Sources/Models/TmuxSession.swift @@ -36,8 +36,6 @@ enum TmuxSession { set -g extended-keys on set -g default-terminal "xterm-256color" set -ga terminal-features ',*:extkeys' - set -ga terminal-overrides ',*:smcup@:rmcup@' - set -g alternate-screen off set -g aggressive-resize on set -g window-size latest set -g remain-on-exit on diff --git a/Tests/TmuxSessionTests.swift b/Tests/TmuxSessionTests.swift index 7fc6ce23..ced8789b 100644 --- a/Tests/TmuxSessionTests.swift +++ b/Tests/TmuxSessionTests.swift @@ -10,14 +10,6 @@ final class TmuxSessionTests: XCTestCase { XCTAssertFalse(TmuxSession.configContents.contains("set -g mouse on")) } - func testConfigKeepsOuterTerminalOutOfAlternateScreen() { - XCTAssertTrue(TmuxSession.configContents.contains("set -ga terminal-overrides ',*:smcup@:rmcup@'")) - } - - func testConfigDisablesPaneAlternateScreen() { - XCTAssertTrue(TmuxSession.configContents.contains("set -g alternate-screen off")) - } - func testConfigDoesNotGloballyRespawnDeadPanes() { XCTAssertFalse(TmuxSession.configContents.contains("pane-died")) XCTAssertTrue(TmuxSession.configContents.contains("set -g remain-on-exit on"))