summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 81030ec)
raw | patch | inline | side by side (parent: 81030ec)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 17 May 2006 21:52:45 +0000 (23:52 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Wed, 17 May 2006 21:52:45 +0000 (23:52 +0200) |
tig.c | patch | blob | history |
index c50bbf09d3bde6d45f0eaebdce7051a0be41c9bf..e57206c75d31296f3dda42f73a10922bb67ae2e0 100644 (file)
--- a/tig.c
+++ b/tig.c
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)