Commit Briefs
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).
bind <up> and <down> for completion instead of history
<up> and <down> are now bound to previous/next-completion instead of previous/next-history-item
support completions in minibuffer + related interactive fns
* cmd.c (cmd_previous_completion): add previous-completion (cmd_next_completion): add next-completion (cmd_insert_current_candidate): add insert-current-candidate * minibuffer.c (enter_minibuffer): support completions in minibuffer
bugfix: allow editing minibuffer history
restore the current line, so the editing operations can actually modify the input buffer, instead of the history string.