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()
|
.padding()
|
||||||
}
|
}
|
||||||
|
|
||||||
TextEditor(text: .constant(contents))
|
ScrollView {
|
||||||
.textSelection(.enabled)
|
Text(contents)
|
||||||
.font(.system(.body, design: .monospaced))
|
.textSelection(.enabled)
|
||||||
.padding(.all, 4)
|
.font(.system(.body, design: .monospaced))
|
||||||
|
.padding(.all, 4)
|
||||||
|
}
|
||||||
|
|
||||||
HStack {
|
HStack {
|
||||||
Spacer()
|
Spacer()
|
||||||
|
Reference in New Issue
Block a user