mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Escape backspace for capture-pane -P, from George Nachman.
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 nicm
					nicm