only re-render if current row has changed

This commit is contained in:
Wirlaburla 2023-09-14 12:48:10 -05:00
parent 1135ad8993
commit 960fa3fc23

View File

@ -240,8 +240,8 @@ int main(int argc, char *argv[]) {
} }
if (xfi.row != row) { if (xfi.row != row) {
row = xfi.row; row = xfi.row;
renderTrack(&xmi, &xfi);
} }
renderTrack(&xmi, &xfi);
wrefresh(tab); wrefresh(tab);
wrefresh(dis); wrefresh(dis);
} else goto keys; } else goto keys;