diff options
author | axel <axel@liljencrantz.se> | 2006-10-26 20:22:53 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-10-26 20:22:53 +1000 |
commit | e98a604a2126b23468db50d64874b4d130cdbd4a (patch) | |
tree | bac46b4db461429d223be81bcc17a0bc337cb12c /screen.c | |
parent | 3341fc888c9b008b6b83603406755610b83f2c94 (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 ); |