aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-26 20:22:53 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-26 20:22:53 +1000
commite98a604a2126b23468db50d64874b4d130cdbd4a (patch)
treebac46b4db461429d223be81bcc17a0bc337cb12c /screen.c
parent3341fc888c9b008b6b83603406755610b83f2c94 (diff)
Minor edits, remove unneeded code, add a few commants, correct spelling, tweak the todo list, etc.
darcs-hash:20061026102253-ac50b-eb42fdab9a9211d68386a563134856a96b870d90.gz
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 2a0873c9..4c6d0e64 100644
--- a/screen.c
+++ b/screen.c
@@ -285,9 +285,10 @@ static void s_check_status( screen_t *s)
to repaint. However, we do not know where the cursor is. It
is our best bet that we are still on the same line, so we
move to the beginning of the line, reset the modelled screen
- contents, and then set the modeled curor y-pos to its
+ contents, and then set the modeled cursor y-pos to its
earlier value.
*/
+
int prev_line = s->actual_cursor[1];
write( 1, "\r", 1 );
s_reset( s );