Fix ghostty performance. Improve keyboard and input mode handling
This commit is contained in:
@@ -8,12 +8,16 @@ final class AppSettingsControllerTests: XCTestCase {
|
||||
var settings = AppSettings.default
|
||||
settings.terminal.shellPath = "/opt/homebrew/bin/fish"
|
||||
settings.terminal.scrollbackLines = 12_000
|
||||
settings.terminal.backendRawValue = TerminalBackendPreference.swiftTerm.rawValue
|
||||
settings.terminal.termTypeRawValue = TerminalTermTypePreference.xterm256color.rawValue
|
||||
store.storedSettings = settings
|
||||
|
||||
let controller = AppSettingsController(store: store)
|
||||
|
||||
XCTAssertEqual(controller.terminalSessionConfiguration.shellPath, "/opt/homebrew/bin/fish")
|
||||
XCTAssertEqual(controller.terminalSessionConfiguration.scrollbackLines, 12_000)
|
||||
XCTAssertEqual(controller.terminalSessionConfiguration.backendPreference, .swiftTerm)
|
||||
XCTAssertEqual(controller.terminalSessionConfiguration.termTypePreference, .xterm256color)
|
||||
}
|
||||
|
||||
func testTerminalSizePresetsDecodeFromTypedSettings() {
|
||||
|
||||
Reference in New Issue
Block a user