Commit Briefs


Omar Polo

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).


Omar Polo

refactor struct vline

the new `meta.data' field will be useful for holding completions data.



Omar Polo

wrap long line


Omar Polo

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



Omar Polo

simplify conditionals







Omar Polo

typo + fmt


Omar Polo

factorize place_cursor