mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Fix word navigation on lines with tabs, from Alexander Arch.
This commit is contained in:
@ -5033,12 +5033,8 @@ window_copy_in_set(struct window_mode_entry *wme, u_int px, u_int py,
|
||||
const char *set)
|
||||
{
|
||||
struct window_copy_mode_data *data = wme->data;
|
||||
struct grid_cell gc;
|
||||
|
||||
grid_get_cell(data->backing->grid, px, py, &gc);
|
||||
if (gc.flags & GRID_FLAG_PADDING)
|
||||
return (0);
|
||||
return (utf8_cstrhas(set, &gc.data));
|
||||
return (grid_in_set(data->backing->grid, px, py, set));
|
||||
}
|
||||
|
||||
static u_int
|
||||
|
Reference in New Issue
Block a user