aboutsummaryrefslogtreecommitdiff
path: root/cmd-capture-pane.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-07-06 10:01:10 +0100
committerThomas Adam <thomas@xteddy.org>2022-07-06 10:01:10 +0100
commitb130e951cc3157ef4deeadc25cc668b8e355f234 (patch)
treea0e44afc634668186123f03e891a37b531fa19a5 /cmd-capture-pane.c
parent9e19f132f2963d603a881d8e35411348638e5fc0 (diff)
parentd0d2c39decd1c342f2ffdb360e5d6b509b9bb34e (diff)
downloadrtmux-b130e951cc3157ef4deeadc25cc668b8e355f234.tar.gz
rtmux-b130e951cc3157ef4deeadc25cc668b8e355f234.tar.bz2
rtmux-b130e951cc3157ef4deeadc25cc668b8e355f234.zip
Merge branch 'obsd-master'
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);