mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Match tab cells when searching, from Alexander Arch in GitHub issue
4201.
This commit is contained in:
parent
62e15e905b
commit
c8bd42de16
@ -3082,6 +3082,9 @@ window_copy_search_compare(struct grid *gd, u_int px, u_int py,
|
||||
grid_get_cell(sgd, spx, 0, &sgc);
|
||||
sud = &sgc.data;
|
||||
|
||||
if (*sud->data == '\t' && sud->size == 1 && gc.flags & GRID_FLAG_TAB)
|
||||
return (1);
|
||||
|
||||
if (ud->size != sud->size || ud->width != sud->width)
|
||||
return (0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user