aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-17 01:32:26 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-17 01:32:26 +1000
commit5473711a205d7bfad9cc22a22e785b1147d53d9f (patch)
treefdb45235f03911b580ab185fd09f863ed9ae3470 /screen.c
parent91009ac9aab8ce283eadfd6b14d65a7f4a4e3c54 (diff)
Minor code simplifications in the reader and related libraries
darcs-hash:20061016153226-ac50b-830735fadfdf578dfa4c686a2a6cd98df0e50c95.gz
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index e38f448c..2a0873c9 100644
--- a/screen.c
+++ b/screen.c
@@ -441,7 +441,14 @@ static int s_writeb( char c )
}
/**
- Move screen cursor to the specified position.
+ Write the bytes needed to move screen cursor to the specified
+ position to the specified buffer. The actual_cursor field of the
+ specified screen_t will be updated.
+
+ \param s the screen to operate on
+ \param b the buffer to send the output escape codes to
+ \param new_x the new x position
+ \param new_y the new y position
*/
static void s_move( screen_t *s, buffer_t *b, int new_x, int new_y )
{