From aaeee34c3250892c8a20e9c95efe66c1d0ec4be2 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 4 Mar 2013 11:03:03 +0000 Subject: Preserve trailing spaces with capture-pane -J, from George Nachman. --- cmd-capture-pane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-capture-pane.c') diff --git a/cmd-capture-pane.c b/cmd-capture-pane.c index 118bf946..e9251389 100644 --- a/cmd-capture-pane.c +++ b/cmd-capture-pane.c @@ -111,7 +111,7 @@ cmd_capture_pane_exec(struct cmd *self, struct cmd_q *cmdq) gc = NULL; for (i = top; i <= bottom; i++) { line = grid_string_cells(gd, 0, i, sx, &gc, with_codes, - escape_c0); + escape_c0, !join_lines); linelen = strlen(line); buf = xrealloc(buf, 1, len + linelen + 1); -- cgit