mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 03:11:46 +00:00
Fix cursor width incorrect after scrolling
This commit is contained in:
parent
28430a4104
commit
0b656246fd
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ line(LineBuf *self, PyObject *y) {
|
|||
|
||||
unsigned int
|
||||
linebuf_char_width_at(LineBuf *self, index_type x, index_type y) {
|
||||
return (lineptr(self, y)[x].ch >> ATTRS_SHIFT) & WIDTH_MASK;
|
||||
return (lineptr(self, self->line_map[y])[x].ch >> ATTRS_SHIFT) & WIDTH_MASK;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue