From: Jonas Fonseca Date: Wed, 17 May 2006 21:52:45 +0000 (+0200) Subject: Make sense of the comment about view->win height X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4d55caff4cc89335192f3e566004b4ceef572521;p=tig.git Make sense of the comment about view->win height --- diff --git a/tig.c b/tig.c index c50bbf0..e57206c 100644 --- a/tig.c +++ b/tig.c @@ -773,9 +773,9 @@ resize_display(void) offset = 0; foreach_view (view, i) { - /* Keep the size of the all view windows one lager than is - * required. This makes current line management easier when the - * cursor will go outside the window. */ + /* Keep the height of all view->win windows one larger than is + * required so that the cursor can wrap-around on the last line + * without scrolling the window. */ if (!view->win) { view->win = newwin(view->height + 1, 0, offset, 0); if (!view->win)