mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-28 18:23:56 +00:00
macos: rename overlay config to indication
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user