mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Merge branch 'selection_wide_hilight' of https://github.com/martinetd/kitty
This commit is contained in:
commit
60de840d69
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ xlimit_for_line(Line *line) {
|
|||
index_type xlimit = line->xnum;
|
||||
if (BLANK_CHAR == 0) {
|
||||
while (xlimit > 0 && (line->cpu_cells[xlimit - 1].ch) == BLANK_CHAR) xlimit--;
|
||||
if (xlimit < line->xnum && (line->gpu_cells[xlimit > 0 ? xlimit - 1 : xlimit].attrs & WIDTH_MASK) == 2) xlimit++;
|
||||
}
|
||||
return xlimit;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue