aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2022-07-06 07:36:36 +0000
committernicm <nicm>2022-07-06 07:36:36 +0000
commitd0d2c39decd1c342f2ffdb360e5d6b509b9bb34e (patch)
treead87aa7bcfe855f02b3d9dfe3969b01f334700da /tty.c
parent9360e0ef329c12931bb97f42197a56776bb3d2f0 (diff)
downloadrtmux-d0d2c39decd1c342f2ffdb360e5d6b509b9bb34e.tar.gz
rtmux-d0d2c39decd1c342f2ffdb360e5d6b509b9bb34e.tar.bz2
rtmux-d0d2c39decd1c342f2ffdb360e5d6b509b9bb34e.zip
Support hyperlinks with capture-pane -e and add a mouse_hyperlink
format, GitHub issue 3247 from Jeff Chiang.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 78961e47..1f373821 100644
--- a/tty.c
+++ b/tty.c
@@ -2501,7 +2501,7 @@ tty_hyperlink(struct tty *tty, const struct grid_cell *gc,
if (hl == NULL)
return;
- if (gc->link == 0 || !hyperlinks_get(hl, gc->link, &uri, &id))
+ if (gc->link == 0 || !hyperlinks_get(hl, gc->link, &uri, NULL, &id))
tty_putcode_ptr2(tty, TTYC_HLS, "", "");
else
tty_putcode_ptr2(tty, TTYC_HLS, id, uri);