150 DWORD dwControlKeyState;
151#ifdef FEATURE_UNIX_FILENAME_COMPLETION
157#ifdef FEATURE_4NT_FILENAME_COMPLETION
160#ifdef FEATURE_HISTORY
178 }
while (chr !=
'\n' && charcount < maxlen);
179 str[charcount] =
_T(
'\0');
201 if (dwControlKeyState &
207#ifdef FEATURE_HISTORY
210 if (dwControlKeyState &
226 if (dwControlKeyState &
241 if (dwControlKeyState &
245#ifdef FEATURE_HISTORY
250 str[charcount++] =
_T(
'\n');
251 str[charcount] =
_T(
'\0');
265 if (
current > 0 && charcount > 0)
317 if (
current != charcount && charcount > 0)
351#ifdef FEATURE_UNIX_FILENAME_COMPLETION
360 tempscreen = charcount;
368 if (tempscreen > charcount)
371 for (
count = tempscreen - charcount;
count--; )
377 if (((charcount + orgx) /
maxx) + orgy >
maxy - 1)
378 orgy +=
maxy - ((charcount + orgx) /
maxx + orgy + 1);
389 if (ShowCompletionMatches (
str, charcount))
408#ifdef FEATURE_4NT_FILENAME_COMPLETION
410 tempscreen = charcount;
435 if (tempscreen > charcount)
438 for(
count = tempscreen - charcount;
count--; )
444 if (((charcount + orgx) /
maxx) + orgy >
maxy - 1)
445 orgy +=
maxy - ((charcount + orgx) /
maxx + orgy + 1);
486#ifdef FEATURE_HISTORY
491 str[charcount++] =
_T(
'\n');
492 str[charcount] =
_T(
'\0');
505#ifdef FEATURE_HISTORY
510#ifdef FEATURE_HISTORY
515 if (((charcount + orgx) /
maxx) + orgy >
maxy - 1)
516 orgy +=
maxy - ((charcount + orgx) /
maxx + orgy + 1);
523#ifdef FEATURE_HISTORY
528 if (((charcount + orgx) /
maxx) + orgy >
maxy - 1)
529 orgy +=
maxy - ((charcount + orgx) /
maxx + orgy + 1);
606 if (curx ==
maxx - 1)
620 if (curx ==
maxx - 1)
652#ifdef FEATURE_HISTORY
676 if (ch >= 32 && (charcount != (maxlen - 2)) && bCharInput)
679 if ((
UCHAR)ch >= 32 && (charcount != (maxlen - 2)) && bCharInput)
688 if ((tempscreen %
maxx) == (
maxx - 1) &&
689 (tempscreen /
maxx) + cury == (
maxy - 1))
698 if (curx ==
maxx - 1)
727#ifdef FEATURE_ALIASES
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
BOOL WINAPI GetConsoleScreenBufferInfo(IN HANDLE hConsoleOutput, OUT PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo)
VOID ExpandAlias(LPTSTR cmd, INT maxlen)
VOID SetCursorXY(SHORT x, SHORT y)
VOID GetCursorXY(PSHORT x, PSHORT y)
VOID ConInKey(PINPUT_RECORD lpBuffer)
VOID SetCursorType(BOOL bInsert, BOOL bVisible)
#define ConOutPrintf(szStr,...)
VOID History_move_to_bottom(VOID)
VOID History(INT dir, LPTSTR commandline)
VOID History_del_current_entry(LPTSTR str)
LPCTSTR PeekHistory(INT dir)
#define ReadFile(a, b, c, d, e)
#define MultiByteToWideChar
VOID CompleteFilename(LPTSTR strIN, BOOL bNext, LPTSTR strOut, UINT cusor)
GLuint GLuint GLsizei count
struct task_struct * current
union _KEY_EVENT_RECORD::@3276 uChar
#define STD_OUTPUT_HANDLE
#define LEFT_CTRL_PRESSED
#define RIGHT_CTRL_PRESSED
#define RIGHT_ALT_PRESSED
BOOL WINAPI MessageBeep(_In_ UINT uType)