diff options
author | nicm <nicm> | 2022-07-06 07:36:36 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-07-06 07:36:36 +0000 |
commit | d0d2c39decd1c342f2ffdb360e5d6b509b9bb34e (patch) | |
tree | ad87aa7bcfe855f02b3d9dfe3969b01f334700da /tty.c | |
parent | 9360e0ef329c12931bb97f42197a56776bb3d2f0 (diff) | |
download | rtmux-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |