summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/wcstombs_r.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-07-29 12:07:46 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-07-29 12:07:46 +0200
commitd7586cb66c1beaf810b3ea433007e6d0e33ad51c (patch)
treefe350a56dbe1d42cc6af433bd012997cfc006727 /newlib/libc/stdlib/wcstombs_r.c
parent08da3bfc41500cc6262440297d955bff7c906ce7 (diff)
downloadcygnal-d7586cb66c1beaf810b3ea433007e6d0e33ad51c.tar.gz
cygnal-d7586cb66c1beaf810b3ea433007e6d0e33ad51c.tar.bz2
cygnal-d7586cb66c1beaf810b3ea433007e6d0e33ad51c.zip
Fix clear screen behaviour of console when user scrolled up or down
We must call SetConsoleCursorPosition prior to SetConsoleWindowInfo, otherwise the scroll bars will not be updated by the OS. Make sure to scroll the console window by just the right amount to have the new cursor position one line after the used console buffer area at the top of the console window, no matter the scroll state. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdlib/wcstombs_r.c')
0 files changed, 0 insertions, 0 deletions