Commits


move the argv handling back into the main()


bugfix: print the trailing face until the right column This would leave the last column white if !olivetti-mode and a background color for some body lines


guard cmd_scroll_line_up against crashes buffer->top_line could end up being NULL if we blindly TAILQ_PREV...


fix detection of empty lines inside pre blocks empty lines inside pre blocks were misleadingly matched as LINE_TEXT.


drop the in_body field and use a bit in the flags field


deal with BOM -- that is, ignore it


fix two related bug Don't crash when there's a certificate mismatch and after saving the cert, before choosing to persist it, the page gets redirected; also, don't repeat the "Certificate mismatch" after the first yes, if there's a redirect. Now when the user accept a certificate, is treated as temporary saved for the whole session.


bind M-prior/next to tab-previous/next


improve descr. of hide-pre-{blocks,content}


add hide-pre-context and hide-pre-blocks * hide-pre-context: if nonzero hide the start and end line of a pre block (i.e. ```). Defaults to zero. * add: hide-pre-blocks: if nonzero hide by default the body of a pre block; push-button can be used to toggle visibility per-block. Defaults to zero.


fix top_line/current_line wrt L_HIDDEN this fixes some infinite loops that may happen if the first line is hidden, or things happens. The idea is to move the line forward/backward until a non-hidden one is found.


update the push-button behaviour


add support for hidden lines; push-button now toggle pre blocks


chain else/if


s/cont/flags