Workaround of console implementation bug in Windwos 9x (hide cursor bug). Thanks to Ianos Gnatiuc 2:469/335.155

This commit is contained in:
Stas Degteff 2005-08-08 12:42:33 +00:00
parent 06a309994f
commit 12eeb5554c

View File

@ -1828,6 +1828,8 @@ void vcurset(int sline, int eline) {
if(eline)
vposset(gvid->currow, gvid->curcol);
else /* Move cursor to bottom right corner (workaround of the win9x console bug) */
vposset(gvid->numrows-1, gvid->numcols-1);
cci.dwSize = (eline and sline) ? sline : 100;
cci.bVisible = eline ? true : false;