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');
274 if (
current > 0 && charcount > 0)
326 if (
current != charcount && charcount > 0)
360#ifdef FEATURE_UNIX_FILENAME_COMPLETION
369 tempscreen = charcount;
377 if (tempscreen > charcount)
380 for (
count = tempscreen - charcount;
count--; )
386 if (((charcount + orgx) /
maxx) + orgy >
maxy - 1)
387 orgy +=
maxy - ((charcount + orgx) /
maxx + orgy + 1);
398 if (ShowCompletionMatches (
str, charcount))
417#ifdef FEATURE_4NT_FILENAME_COMPLETION
419 tempscreen = charcount;
444 if (tempscreen > charcount)
447 for(
count = tempscreen - charcount;
count--; )
453 if (((charcount + orgx) /
maxx) + orgy >
maxy - 1)
454 orgy +=
maxy - ((charcount + orgx) /
maxx + orgy + 1);
495#ifdef FEATURE_HISTORY
500 str[charcount++] =
_T(
'\n');
501 str[charcount] =
_T(
'\0');
514#ifdef FEATURE_HISTORY
519#ifdef FEATURE_HISTORY
524 if (((charcount + orgx) /
maxx) + orgy >
maxy - 1)
525 orgy +=
maxy - ((charcount + orgx) /
maxx + orgy + 1);
532#ifdef FEATURE_HISTORY
537 if (((charcount + orgx) /
maxx) + orgy >
maxy - 1)
538 orgy +=
maxy - ((charcount + orgx) /
maxx + orgy + 1);
615 if (curx ==
maxx - 1)
629 if (curx ==
maxx - 1)
661#ifdef FEATURE_HISTORY
685 if (ch >= 32 && (charcount != (maxlen - 2)) && bCharInput)
688 if ((
UCHAR)ch >= 32 && (charcount != (maxlen - 2)) && bCharInput)
697 if ((tempscreen %
maxx) == (
maxx - 1) &&
698 (tempscreen /
maxx) + cury == (
maxy - 1))
707 if (curx ==
maxx - 1)
736#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::@3285 uChar
#define STD_OUTPUT_HANDLE
#define LEFT_CTRL_PRESSED
#define RIGHT_CTRL_PRESSED
#define RIGHT_ALT_PRESSED
BOOL WINAPI MessageBeep(_In_ UINT uType)