Download raw body.
tog: change author field highlight
This is a tiny change that extends the author field highlight to the full width of the author field so we have a consistent demarcation of all commit fields in the log view rather than an author highlight that changes size. It's subjective but I think it looks better. ok? diff /home/mark/src/got commit - 58381f7013ee220415b44aaf36c549b2f1cd2937 path + /home/mark/src/got blob - d3fe18a13136b64b9e9ba153ae5a2deda0482b9c file + tog/tog.c --- tog/tog.c +++ tog/tog.c @@ -2044,15 +2044,15 @@ draw_commit(struct tog_view *view, struct got_commit_o wattr_on(view->window, COLOR_PAIR(tc->colorpair), NULL); waddwstr(view->window, wauthor); - if (tc) - wattr_off(view->window, - COLOR_PAIR(tc->colorpair), NULL); col += author_width; while (col < avail && author_width < author_display_cols + 2) { waddch(view->window, ' '); col++; author_width++; } + if (tc) + wattr_off(view->window, + COLOR_PAIR(tc->colorpair), NULL); if (col > avail) goto done; -- Mark Jamsek <fnc.bsdbox.org> GPG: F2FF 13DE 6A06 C471 CA80 E6E2 2930 DC66 86EE CF68
tog: change author field highlight