summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1044633)
raw | patch | inline | side by side (parent: 1044633)
author | Jonas Fonseca <fonseca@diku.dk> | |
Fri, 15 Sep 2006 00:41:20 +0000 (02:41 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Fri, 15 Sep 2006 00:41:20 +0000 (02:41 +0200) |
tig.c | patch | blob | history |
index 711b9adefe57a657837ff765260bed80ce7c06b3..1a5ed4af81f7e1117d1767802d2da38fa4032fc9 100644 (file)
--- a/tig.c
+++ b/tig.c
}
static void
-update_display_cursor(void)
+update_display_cursor(struct view *view)
{
- struct view *view = display[current_view];
-
/* Move the cursor to the right-most column of the cursor line.
*
* XXX: This could turn out to be a bit expensive, but it ensures that
}
update_view_title(view);
- update_display_cursor();
+ update_display_cursor(view);
}
/* Controls when nodelay should be in effect when polling user input. */