git-svn-id: svn://db.shs.com.ru/pip@249 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -199,8 +199,8 @@ public:
|
||||
|
||||
void getCursor(int & x, int & y) {
|
||||
GetConsoleScreenBufferInfo(console, &sbi);
|
||||
x = sbi.dwCursorPosition.X + sbi.srWindow.Left;
|
||||
y = sbi.dwCursorPosition.Y + sbi.srWindow.Top;
|
||||
x = sbi.dwCursorPosition.X - sbi.srWindow.Left;
|
||||
y = sbi.dwCursorPosition.Y - sbi.srWindow.Top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user