Add further scrollback option for longer terminal history
This commit is contained in:
@@ -7,11 +7,13 @@ final class AppSettingsControllerTests: XCTestCase {
|
||||
let store = InMemoryAppSettingsStore()
|
||||
var settings = AppSettings.default
|
||||
settings.terminal.shellPath = "/opt/homebrew/bin/fish"
|
||||
settings.terminal.scrollbackLines = 12_000
|
||||
store.storedSettings = settings
|
||||
|
||||
let controller = AppSettingsController(store: store)
|
||||
|
||||
XCTAssertEqual(controller.terminalSessionConfiguration.shellPath, "/opt/homebrew/bin/fish")
|
||||
XCTAssertEqual(controller.terminalSessionConfiguration.scrollbackLines, 12_000)
|
||||
}
|
||||
|
||||
func testTerminalSizePresetsDecodeFromTypedSettings() {
|
||||
|
||||
Reference in New Issue
Block a user