mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Merge pull request #1865 from rektrex/trim_clip_url_for_open
trim url for p and P commands
This commit is contained in:
commit
c8b0f18cb3
1 changed files with 2 additions and 2 deletions
|
@ -2909,13 +2909,13 @@ export async function clipboard(excmd: "open" | "yank" | "yankshort" | "yankcano
|
|||
case "open":
|
||||
url = await getclip()
|
||||
if (url) {
|
||||
open(url)
|
||||
open(url.trim())
|
||||
}
|
||||
break
|
||||
case "tabopen":
|
||||
url = await getclip()
|
||||
if (url) {
|
||||
tabopen(url)
|
||||
tabopen(url.trim())
|
||||
}
|
||||
break
|
||||
case "xselpaste":
|
||||
|
|
Loading…
Add table
Reference in a new issue