Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions macos/Sources/Ghostty/SurfaceView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,13 @@ extension Ghostty {
ghostty_surface_binding_action(surface, action, UInt(action.lengthOfBytes(using: .utf8)))
return .handled
}
.backport.onKeyPress(.init("v")) { modifiers in
guard modifiers.contains(.command) else { return .ignored }
if let text = NSPasteboard.general.string(forType: .string) {
searchState.needle += text
}
return .handled
}

Button(action: {
guard let surface = surfaceView.surface else { return }
Expand Down
Loading