GNU bug report logs -
#71836
[PATCH mumi] client: Do not print hash symbol in issue number.
Previous Next
Reported by: jgart <jgart <at> dismail.de>
Date: Sat, 29 Jun 2024 06:45:02 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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
This bug report was last modified 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.