Commit Briefs
tog: resize main view
drawing the child view on top of the main view when the layout is split-screen can produce some ugly glitches when double-width characters are involved. (issue found by stsp) ok stsp@
simplify scroll_wline (now span_wline) and format_line
generalize scroll_wline to start at a specified offset so that we can reuse it to simplify format_line. While here, simplify scroll_wline (now called span_wline) too. ok and improvements by stsp@
tog: fix crash in expand_tab while searching in diff/blame views
found by op@ ok op@ tracey@
plug realloc memleak and style(9) fixes in expand_tab()
fixes and ok from tb@
fix an off-by-one in tog's draw_file() causing wrong diff output
This issue caused empty lines added in diffs to be displayed without leading + in the diff view. Problem found by op@ ok op jamsek