mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-19 18:26:13 +03:00
Merge pull request #1272 from mitchellh/mrn/clipboard-dialog-default-focus
macos: allow submitting clipboard confirmation with return
This commit is contained in:
@ -48,10 +48,12 @@ struct ClipboardConfirmationView: View {
|
||||
.padding()
|
||||
}
|
||||
|
||||
TextEditor(text: .constant(contents))
|
||||
.textSelection(.enabled)
|
||||
.font(.system(.body, design: .monospaced))
|
||||
.padding(.all, 4)
|
||||
ScrollView {
|
||||
Text(contents)
|
||||
.textSelection(.enabled)
|
||||
.font(.system(.body, design: .monospaced))
|
||||
.padding(.all, 4)
|
||||
}
|
||||
|
||||
HStack {
|
||||
Spacer()
|
||||
|
Reference in New Issue
Block a user