mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 22:10:29 +00:00
macOS: make text editor in clipboard confirmation non focusable (#9400)
With its being `focusable`(default), the first responder became the text editor instead of the paste button. This fixes the issue where one can't confirm with the keyboard. This doesn't affect its selection.
This commit is contained in:
@@ -52,6 +52,7 @@ struct ClipboardConfirmationView: View {
|
||||
}
|
||||
|
||||
TextEditor(text: .constant(contents))
|
||||
.focusable(false)
|
||||
.font(.system(.body, design: .monospaced))
|
||||
|
||||
HStack {
|
||||
|
||||
Reference in New Issue
Block a user