commit 63ba1a3a6f40953d1636e718c0e0000a3d626159 from: Omar Polo date: Tue Jun 21 16:52:34 2022 UTC fix `limit' accounting in draw_commit if the child view is fullscreen we don't need to subtract one, because no vborder is drawn. ok Mark Jamsek commit - 48bb96f04b6f67bbc78ae9526830dbf20e84ef7d commit + 63ba1a3a6f40953d1636e718c0e0000a3d626159 blob - 17b45ee2d85a1a2a4e160e82a484d346d9874d7d blob + cb01bcd4c601aae790a8c7ed5467fd7dc9bc7f1b --- tog/tog.c +++ tog/tog.c @@ -1547,7 +1547,7 @@ draw_commit(struct tog_view *view, struct got_commit_o if (newline) *newline = '\0'; limit = avail - col; - if (view->child && limit > 0) + if (view->child && view_is_splitscreen(view->child) && limit > 0) limit--; /* for the border */ err = format_line(&wlogmsg, &logmsg_width, &scrollx, logmsg, view->x, limit, col, 1);