mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -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) {
|
||||
int i;
|
||||
|
||||
uic_set(UIC_DEFAULT);
|
||||
subwinr = winrows/2-height/2;
|
||||
subwinc = wincols/2-width/2;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue