Fix ghostty performance. Improve keyboard and input mode handling
This commit is contained in:
@@ -306,7 +306,14 @@ private final class TestAppSettingsStore: AppSettingsStoreType {
|
||||
}
|
||||
|
||||
private final class ScreenRegistryTestSettingsProvider: TerminalSessionConfigurationProviding {
|
||||
let terminalSessionConfiguration = TerminalSessionConfiguration(fontSize: 13, theme: .terminalApp, shellPath: "", scrollbackLines: 500)
|
||||
let terminalSessionConfiguration = TerminalSessionConfiguration(
|
||||
fontSize: 13,
|
||||
theme: .terminalApp,
|
||||
shellPath: "",
|
||||
scrollbackLines: 500,
|
||||
backendPreference: .ghostty,
|
||||
termTypePreference: .automatic
|
||||
)
|
||||
let hotkeySettings = AppSettings.default.hotkeys
|
||||
let terminalSizePresets = TerminalSizePresetStore.loadDefaults()
|
||||
}
|
||||
@@ -318,8 +325,17 @@ private struct ScreenRegistryUnusedTerminalSessionFactory: TerminalSessionFactor
|
||||
theme: TerminalTheme,
|
||||
shellPath: String,
|
||||
scrollbackLines: Int,
|
||||
backendPreference: TerminalBackendPreference,
|
||||
termTypePreference: TerminalTermTypePreference,
|
||||
initialDirectory: String?
|
||||
) -> TerminalSession {
|
||||
_ = fontSize
|
||||
_ = theme
|
||||
_ = shellPath
|
||||
_ = scrollbackLines
|
||||
_ = backendPreference
|
||||
_ = termTypePreference
|
||||
_ = initialDirectory
|
||||
fatalError("ScreenRegistryTests should not create live terminal sessions.")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user