macos: rename overlay config to indication

This commit is contained in:
Mitchell Hashimoto
2024-09-19 20:00:41 -07:00
parent 08a2a71ab8
commit df5cd719d6
3 changed files with 7 additions and 7 deletions

View File

@@ -380,10 +380,10 @@ extension Ghostty {
return v
}
var secureInputOverlay: Bool {
var secureInputIndication: Bool {
guard let config = self.config else { return true }
var v = false;
let key = "macos-secure-input-overlay"
let key = "macos-secure-input-indication"
_ = ghostty_config_get(config, &v, key, UInt(key.count))
return v
}

View File

@@ -205,7 +205,7 @@ extension Ghostty {
#if canImport(AppKit)
// If we have secure input enabled and we're the focused surface and window
// then we want to show the secure input overlay.
if (ghostty.config.secureInputOverlay &&
if (ghostty.config.secureInputIndication &&
secureInput.enabled &&
surfaceFocus &&
windowFocus) {