remove console command history for now

This commit is contained in:
quaK 2022-05-30 17:46:03 +03:00
parent c8740032ca
commit d641d85511

View File

@ -55,7 +55,7 @@ namespace console
namespace sys namespace sys
{ {
#define COMMAND_HISTORY 64 //#define COMMAND_HISTORY 64
struct WinConData struct WinConData
{ {
@ -67,9 +67,9 @@ namespace console
//char errorString[512]; //char errorString[512];
char consoleText[512]; char consoleText[512];
//char returnedText[512]; //char returnedText[512];
char consoleHistory[COMMAND_HISTORY][512]; //char consoleHistory[COMMAND_HISTORY][512];
int consoleHistoryPos; //int consoleHistoryPos;
int consoleHistoryCount; //int consoleHistoryCount;
int windowWidth; int windowWidth;
int windowHeight; int windowHeight;
WNDPROC SysInputLineWndProc; WNDPROC SysInputLineWndProc;
@ -276,7 +276,7 @@ namespace console
ReleaseDC(v8, v5); ReleaseDC(v8, v5);
s_wcd.windowHeight = Rect.bottom - Rect.top + 1; s_wcd.windowHeight = Rect.bottom - Rect.top + 1;
s_wcd.windowWidth = Rect.right - Rect.left + 1; s_wcd.windowWidth = Rect.right - Rect.left + 1;
s_wcd.consoleHistoryPos = 0; //s_wcd.consoleHistoryPos = 0;
auto v9 = CreateWindowExA( auto v9 = CreateWindowExA(
0, 0,
ClassName, ClassName,