From 1165342dcf09e7a47f76cf3ad93270c4cbf06e2d Mon Sep 17 00:00:00 2001 From: Yorhel <git@yorhel.nl> Date: Tue, 23 Jan 2018 14:20:06 +0100 Subject: [PATCH] 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. --- src/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util.c b/src/util.c index 11be394..b85ac2b 100644 --- a/src/util.c +++ b/src/util.c @@ -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; -- GitLab