mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
Fix cursor width incorrect after scrolling
This commit is contained in:
@@ -116,7 +116,7 @@ line(LineBuf *self, PyObject *y) {
|
|||||||
|
|
||||||
unsigned int
|
unsigned int
|
||||||
linebuf_char_width_at(LineBuf *self, index_type x, index_type y) {
|
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
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user