commit - 84717ec7d4074136fd55aa5edb18ae689e230d1a
commit + 1a57306adedf8027b8f137105f39783cec2d75a9
blob - 1dc94f50c8b5a37214059da437455e8fd0e99dc2
blob + 72a9f585af0ad899ef3958b0c733ba7cc849c919
--- tog/tog.c
+++ tog/tog.c
view->child = child;
return NULL;
+}
+
+void
+view_vborder(struct tog_view *view)
+{
+ if (view->child == NULL)
+ return;
+
+ mvwvline(view->window, view->begin_y, view->child->begin_x - 1,
+ got_locale_is_utf8() ? ACS_VLINE : '|', view->nlines);
}
static const struct got_error *
entry = TAILQ_NEXT(entry, entry);
}
+ view_vborder(view);
update_panels();
return err;
}
*last_displayed_line = nlines;
+ view_vborder(view);
update_panels();
return NULL;
}
*last_displayed_line = lineno;
+ view_vborder(view);
update_panels();
return NULL;
te = SIMPLEQ_NEXT(te, entry);
}
+ view_vborder(view);
return err;
}