mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-14 17:58:40 -09:00
Don't depend on current color when creating ncurses window
Fixes a minor glitch where A_REVERSE would be set on the information window if the last item in the dir is selected.
This commit is contained in:
parent
40b127591f
commit
1165342dcf
1 changed files with 1 additions and 0 deletions
|
|
@ -162,6 +162,7 @@ int ncresize(int minrows, int mincols) {
|
||||||
void nccreate(int height, int width, const char *title) {
|
void nccreate(int height, int width, const char *title) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
uic_set(UIC_DEFAULT);
|
||||||
subwinr = winrows/2-height/2;
|
subwinr = winrows/2-height/2;
|
||||||
subwinc = wincols/2-width/2;
|
subwinc = wincols/2-width/2;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue