improvements to the rendering

This commit is contained in:
nova
2026-05-06 22:27:24 +02:00
parent 41293c6afd
commit d9d1ed115d

6
main.c
View File

@@ -170,7 +170,11 @@ void render_pass(){
wnoutrefresh(win_r); wnoutrefresh(win_r);
wnoutrefresh(win_b); wnoutrefresh(win_b);
doupdate(); doupdate();
status &= ~(STATUS_UPDATE_SCREEN_MASK); status &= ~(STATUS_UPDATE_SCREEN_MASK - STATUS_UPDATE_SCREEN_DIR_CHANGE);
}
if (status & STATUS_UPDATE_SCREEN_DIR_CHANGE) {
status &= ~STATUS_UPDATE_SCREEN_DIR_CHANGE;
status |= STATUS_UPDATE_SCREEN_GENERIC;
} }
} }
/*this function exists for things done at startup (initialization, reading config, etc)*/ /*this function exists for things done at startup (initialization, reading config, etc)*/