diff options
author | bptato <nincsnevem662@gmail.com> | 2023-10-01 19:01:56 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-10-01 19:01:56 +0200 |
commit | 826412060fc89e4a1603790d1914e4fa5ab41aae (patch) | |
tree | d8afb0164798d22e15d4258e2e80888ee2f85bcd /res | |
parent | edf0d60f81407f8fa0de9d05df0f15ee98cabc70 (diff) | |
download | chawan-826412060fc89e4a1603790d1914e4fa5ab41aae.tar.gz |
config: do not copy url with newline
Diffstat (limited to 'res')
-rw-r--r-- | res/config.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/config.toml b/res/config.toml index a1678361..e19f373f 100644 --- a/res/config.toml +++ b/res/config.toml @@ -152,7 +152,7 @@ pager.alert("Wrap search " + (config.search.wrap ? "on" : "off")); ''' M-y = ''' () => { - if (pager.extern('printf \'%s\\n\' "$CHA_URL" | xsel -bi', + if (pager.extern('printf \'%s\' "$CHA_URL" | xsel -bi', {suspend: false, setenv: true})) pager.alert("Copied URL to clipboard."); else |