mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Flag tabs if possible in the grid cell so they can be preserved on
copying and capture-pane. From Alexander Arch in GitHub issue 4201.
This commit is contained in:
@ -1814,6 +1814,8 @@ screen_write_collect_add(struct screen_write_ctx *ctx,
|
||||
collect = 1;
|
||||
if (gc->data.width != 1 || gc->data.size != 1 || *gc->data.data >= 0x7f)
|
||||
collect = 0;
|
||||
else if (gc->flags & GRID_FLAG_TAB)
|
||||
collect = 0;
|
||||
else if (gc->attr & GRID_ATTR_CHARSET)
|
||||
collect = 0;
|
||||
else if (~s->mode & MODE_WRAP)
|
||||
|
Reference in New Issue
Block a user