Commit Briefs
don't let the net process stick around
flush the net ibuf too
wrap the minibuffer check in a macro
and while there improve the error message.
optimization: don't endwin() when we can simply move the windows
After a resize we should do the endwin+refresh+clear dance, but in other situations, like when entering the minibuffer, we can simply re-wrap the page and move the windows. This prevents a small flash when entering the minibuffer, as well as fewer redraw (redraw after the command and shortly after because it was scheduled).
use A_REVERSE instead of COLOR_CYAN for the selected completion
cyan is cool, but only if the text is black. On dark terminals, where COLOR_DEFAULT is white for the foreground, using a cyan background is hard to read. Users can always drop something like the following to their configuration file style line.compl.current bg cyan