all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#71836] [PATCH mumi] client: Do not print hash symbol in issue number.
@ 2024-06-29  6:40 jgart via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: jgart via Guix-patches via @ 2024-06-29  6:40 UTC (permalink / raw)
  To: 71836; +Cc: jgart

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 --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")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-29  6:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-29  6:40 [bug#71836] [PATCH mumi] client: Do not print hash symbol in issue number jgart via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.