mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Escape backspace for capture-pane -P, from George Nachman.
This commit is contained in:
parent
1015b124d5
commit
43e8f60bc6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user