Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2017-01-03 00:01:12 +00:00

View File

@ -77,7 +77,7 @@ cmd_capture_pane_pending(struct args *args, struct window_pane *wp,
buf = xstrdup(""); buf = xstrdup("");
if (args_has(args, 'C')) { if (args_has(args, 'C')) {
for (i = 0; i < linelen; i++) { for (i = 0; i < linelen; i++) {
if (line[i] >= ' ') { if (line[i] >= ' ' && line[i] != '\\') {
tmp[0] = line[i]; tmp[0] = line[i];
tmp[1] = '\0'; tmp[1] = '\0';
} else } else