mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Fix cursor width incorrect after scrolling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user