From 12eeb5554ceabbc776c2d0e175eb30111775bcd5 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Mon, 8 Aug 2005 12:42:33 +0000 Subject: [PATCH] Workaround of console implementation bug in Windwos 9x (hide cursor bug). Thanks to Ianos Gnatiuc 2:469/335.155 --- goldlib/gall/gvidbase.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/goldlib/gall/gvidbase.cpp b/goldlib/gall/gvidbase.cpp index 4ed02d2..77c53a5 100644 --- a/goldlib/gall/gvidbase.cpp +++ b/goldlib/gall/gvidbase.cpp @@ -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;