Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ghostty-org/ghostty
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ac4507013f0d8592e487beae1e570e1773373c79
Choose a base ref
..
head repository: ghostty-org/ghostty
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 45b472c32d671a45c3d487b28733a9e903c321f0
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 macos/Sources/Helpers/NSPasteboard+Extension.swift
2 changes: 1 addition & 1 deletion macos/Sources/Helpers/NSPasteboard+Extension.swift
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ extension NSPasteboard {

/// Gets the contents of the pasteboard as a string following a specific set of semantics.
/// Does these things in order:
/// - Tries to get the absolute filesystem path of the file in the pasteboard if there is one and esures file path is properly escaped.
/// - Tries to get the absolute filesystem path of the file in the pasteboard if there is one and esures the file path is properly escaped.
/// - Tries to get any string from the pasteboard.
/// If all of the above fail, returns None.
func getOpinionatedStringContents() -> String? {