From 960fa3fc23381bb432f2d01d2006ac1dd369fad7 Mon Sep 17 00:00:00 2001 From: Wirlaburla Date: Thu, 14 Sep 2023 12:48:10 -0500 Subject: [PATCH] only re-render if current row has changed --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index c7a37f7..22a6627 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -240,8 +240,8 @@ int main(int argc, char *argv[]) { } if (xfi.row != row) { row = xfi.row; + renderTrack(&xmi, &xfi); } - renderTrack(&xmi, &xfi); wrefresh(tab); wrefresh(dis); } else goto keys;