diff mbox series

[bug#71836,mumi] client: Do not print hash symbol in issue number.

Message ID 20240629064433.132460-1-jgart@dismail.de
State New
Headers show
Series [bug#71836,mumi] client: Do not print hash symbol in issue number. | expand

Commit Message

jgart June 29, 2024, 6:40 a.m. UTC
Hi,

Printing the hash symbol in the mumi search output makes it harder to
conveniently double click on the issue number word and copy paste it
to another mumi command such as mumi current ISSUE. I think this
improves the terminal UI ergonomics.

This patch remove the hash symbol that is printed to standard output.

WDYT

all the best,

jgart

* mumi/client.scm (list-issue): Do not print hash symbol.
---
 mumi/client.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/mumi/client.scm b/mumi/client.scm
index 9231589..77fe07c 100644
--- a/mumi/client.scm
+++ b/mumi/client.scm
@@ -96,8 +96,7 @@ 
 (define (list-issue issue)
   "List issue described by ISSUE association list."
   (display (colorize-string
-            (string-append "#"
-                           (number->string (assoc-ref issue "number")))
+            (number->string (assoc-ref issue "number"))
             'YELLOW))
   (display " ")
   (unless (assoc-ref issue "open")