Commits


add -C/--colors: dumps all available colors


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


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


disentangle the minibuffer and olivetti-mode


wrap long line


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


finally start this completion-read


simplify conditionals


handle gracefully really small windows (< 15 lines)


foreshadowing: the "real" completing_read


tweak the handle_resize_nodelay logic


move defaults.c decls. to their own header


completing_read: take tab pointer instead of id


typo + fmt


factorize place_cursor