about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-10-01 19:01:56 +0200
committerbptato <nincsnevem662@gmail.com>2023-10-01 19:01:56 +0200
commit826412060fc89e4a1603790d1914e4fa5ab41aae (patch)
treed8afb0164798d22e15d4258e2e80888ee2f85bcd /res
parentedf0d60f81407f8fa0de9d05df0f15ee98cabc70 (diff)
downloadchawan-826412060fc89e4a1603790d1914e4fa5ab41aae.tar.gz
config: do not copy url with newline
Diffstat (limited to 'res')
-rw-r--r--res/config.toml2
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