summaryrefslogtreecommitdiffstats
path: root/cmd-capture-pane.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 /cmd-capture-pane.c
parent9360e0ef329c12931bb97f42197a56776bb3d2f0 (diff)
Support hyperlinks with capture-pane -e and add a mouse_hyperlink
format, GitHub issue 3247 from Jeff Chiang.
Diffstat (limited to 'cmd-capture-pane.c')
-rw-r--r--cmd-capture-pane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-capture-pane.c b/cmd-capture-pane.c
index 04a88172..422f87d6 100644
--- a/cmd-capture-pane.c
+++ b/cmd-capture-pane.c
@@ -177,7 +177,7 @@ cmd_capture_pane_history(struct args *args, struct cmdq_item *item,
buf = NULL;
for (i = top; i <= bottom; i++) {
line = grid_string_cells(gd, 0, i, sx, &gc, with_codes,
- escape_c0, !join_lines && !no_trim);
+ escape_c0, !join_lines && !no_trim, wp->screen);
linelen = strlen(line);
buf = cmd_capture_pane_append(buf, len, line, linelen);