From 8b437777248dd42cb5ecd28cb135981ad870849c Mon Sep 17 00:00:00 2001 From: Casper Verhaar Date: Fri, 17 May 2024 07:33:34 +0200 Subject: [PATCH] Remove parens surrounding url in output This solves an issue where terminals include the paren in their detected hyperlink. When you click the url, some sites won't be able to find the url because of the extra paren at the end. The paren at the front doesn't suffer from this. --- src/feed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feed.rs b/src/feed.rs index 0cd7d11..d441c6d 100644 --- a/src/feed.rs +++ b/src/feed.rs @@ -334,7 +334,7 @@ impl Feed { Ok(_) | Err(_) => self.base_url.join(&item.id)?, }; - writeln!(stdout, " ({})", post_url.to_string())?; + writeln!(stdout, " {}", post_url.to_string())?; stdout.reset()?; idx += 1;