aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2016-04-26 13:13:59 +0100
committerRon Yorston <rmy@pobox.com>2016-04-26 13:48:18 +0100
commitaa3595b3d38ecc6b86b351ac215829f0de58d911 (patch)
tree2f78acabf0a2babca275f0ef4d32ad9cd1968b43 /include
parentfd476d8629d489245e18ec278d3c846ab1359eec (diff)
downloadbusybox-w32-ansi.tar.gz
busybox-w32-ansi.tar.bz2
busybox-w32-ansi.zip
winansi: add a routine to clear the screen bufferansi
And use it to restore the old behaviour of vi and less: they reset the cursor to the top of the buffer and clear it.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 5faef41bf..555fa96b7 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -155,6 +155,7 @@ int mingw_pclose(FILE *fd);
155 */ 155 */
156 156
157void move_cursor_row(int n); 157void move_cursor_row(int n);
158void reset_screen(void);
158int winansi_putchar(int c); 159int winansi_putchar(int c);
159int winansi_puts(const char *s); 160int winansi_puts(const char *s);
160size_t winansi_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream); 161size_t winansi_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);