Correctly initialize search_field_shown to avoid phantom search field
after the prompt
Experimental option to build in a static ncurses library with its own terminfo, eliminating system dependency.