Workaround of console implementation bug in Windwos 9x (hide cursor bug). Thanks to Ianos Gnatiuc 2:469/335.155
This commit is contained in:
parent
06a309994f
commit
12eeb5554c
@ -1828,6 +1828,8 @@ void vcurset(int sline, int eline) {
|
|||||||
|
|
||||||
if(eline)
|
if(eline)
|
||||||
vposset(gvid->currow, gvid->curcol);
|
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.dwSize = (eline and sline) ? sline : 100;
|
||||||
cci.bVisible = eline ? true : false;
|
cci.bVisible = eline ? true : false;
|
||||||
|
Reference in New Issue
Block a user