Escape backspace for capture-pane -P, from George Nachman.

pull/649/merge
nicm 2017-01-02 22:42:19 +00:00
parent 1015b124d5
commit 43e8f60bc6
1 changed files with 1 additions and 1 deletions

View File

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