commit 04d32eda6a47cae61c0347e1f514d00b28b9ffc8 from: Omar Polo date: Thu Jul 08 10:01:42 2021 UTC 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 commit - e39920a9e6863737b01eb7a7299f0af4faebb586 commit + 04d32eda6a47cae61c0347e1f514d00b28b9ffc8 blob - de71910054e2c42f0a2ecfa08b90556f4731d53c blob + 9d66121a1ab68547730a8417a7f72de2c9be8c61 --- ChangeLog +++ ChangeLog @@ -1,3 +1,7 @@ +2021-07-08 Omar Polo + + * ui.c (print_vline): bug: print the trailing face until the right column, not one less. (this would leave the last column white if !olivetti-mode and a background color for some body lines) + 2021-07-07 Omar Polo * gemtext.c (detect_line_type): fix styling of empty lines inside a pre block blob - c7b26c92c942ee917b5c9aa274f41084d0862f82 blob + ca89afd51e72a82a608b6081242772fec177670b --- ui.c +++ ui.c @@ -678,7 +678,7 @@ print_vline(int off, int width, WINDOW *window, struct left = width - x; wattr_on(window, f->trail, NULL); - for (i = 0; i < left - off - 1; ++i) + for (i = 0; i < left - off; ++i) waddch(window, ' '); wattr_off(window, f->trail, NULL);