improvements to the rendering
This commit is contained in:
6
main.c
6
main.c
@@ -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)*/
|
||||||
|
|||||||
Reference in New Issue
Block a user