mirror of
https://github.com/tstack/lnav
synced 2024-11-03 23:15:38 +00:00
[view_curses] fix graphics rendering
This commit is contained in:
parent
9f91d3b447
commit
db0d2fc231
@ -478,7 +478,11 @@ void view_curses::mvwattrline(WINDOW *window,
|
||||
attr_range.lr_end = min(line_width, attr_range.lr_end - lr.lr_start);
|
||||
|
||||
if (iter->sa_type == &VC_GRAPHIC) {
|
||||
mvwaddch(window, y, x + attr_range.lr_start, iter->sa_value.sav_int);
|
||||
for (int index = attr_range.lr_start;
|
||||
index < attr_range.lr_end;
|
||||
index++) {
|
||||
mvwaddch(window, y, x + index, iter->sa_value.sav_int);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user