mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-11 15:34:37 +08:00
Fix "Copy URL" for pasting into Terminal, closes #2853
This commit is contained in:
parent
cb047455a6
commit
6021ddf39e
1 changed files with 2 additions and 1 deletions
|
@ -128,7 +128,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||
func copyURL() {
|
||||
let pasteboard = NSPasteboard.general
|
||||
pasteboard.clearContents()
|
||||
pasteboard.setData(url!.data(using: .utf8), forType: NSPasteboard.PasteboardType.URL)
|
||||
pasteboard.setString(url!, forType: .URL)
|
||||
pasteboard.setString(url!, forType: .string)
|
||||
}
|
||||
|
||||
@objc
|
||||
|
|
Loading…
Add table
Reference in a new issue