GNU bug report logs -
#47929
[PATCH 0/5] Add manifest support to channel-with-substitutes-available
Previous Next
Full log
View this message in rfc822 format
Inside screen, the OSC escape sequence is interpreted but the link is not clickable.
* guix/ui.scm (supports-hyperlinks?): Return false if STY is set.
---
guix/ui.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/ui.scm b/guix/ui.scm
index 7fbd4c63a2..56fbbb3db3 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -1486,7 +1486,8 @@ documented at
;; However, Emacs comint as of 26.3 does not ignore it and instead lets it
;; through, hence the 'INSIDE_EMACS' special case below.
(and (isatty?* port)
- (not (getenv "INSIDE_EMACS"))))
+ (not (or (getenv "INSIDE_EMACS")
+ (getenv "STY"))))) ;screen doesn't support hyperlinks.
(define* (file-hyperlink file #:optional (text file))
"Return TEXT with escapes for a hyperlink to FILE."
--
2.31.1
This bug report was last modified 4 years and 152 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.