More ncurses fixes for brew