Add -e flag to capture-pane to include embedded ANSI SGR escape sequences, from

George Nachman.
This commit is contained in:
Nicholas Marriott
2013-02-19 09:55:02 +00:00
parent a96dd1932a
commit 4d1d4d6e8e
5 changed files with 210 additions and 18 deletions

View File

@ -234,5 +234,5 @@ grid_view_string_cells(struct grid *gd, u_int px, u_int py, u_int nx)
px = grid_view_x(gd, px);
py = grid_view_y(gd, py);
return (grid_string_cells(gd, px, py, nx));
return (grid_string_cells(gd, px, py, nx, NULL, 0));
}