Currently, "capture-pane -J" will output trailing spaces at the end of every line, even if there aren't really spaces there (e.g., the line's length is less than the grid's width). This causes problems for control mode clients because the output of capture-pane is much larger than it needs to be, and clients cannot distinguish "real" trailing spaces from unused cells.
This patch fixes that by changing grid_string_cells() to only output trailing spaces for cells that are defined in the grid. This will also speed up window_pane_search(), which currently searches through all those bogus spaces. Nothing else should be affected.
fixCapturePaneExtraSpaces.patch
Description: Binary data
------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users