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);
453 if ((ir.
Event.KeyEvent.dwControlKeyState &
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
union _KEY_EVENT_RECORD::@3233 uChar
VOID GetCursorXY(PSHORT x, PSHORT y)
GLuint GLuint GLsizei count
VOID History_move_to_bottom(VOID)
_TCHAR * _tcscpy(_TCHAR *to, const _TCHAR *from)
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
#define ConOutPrintf(szStr,...)
VOID ExpandAlias(LPTSTR cmd, INT maxlen)
VOID ConInKey(PINPUT_RECORD lpBuffer)
VOID SetCursorType(BOOL bInsert, BOOL bVisible)
size_t __cdecl _tcslen(const _TCHAR *str)
VOID CompleteFilename(LPTSTR, BOOL, LPTSTR, UINT)
BOOL WINAPI GetConsoleScreenBufferInfo(IN HANDLE hConsoleOutput, OUT PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo)
struct task_struct * current
#define LEFT_CTRL_PRESSED
VOID History_del_current_entry(LPTSTR str)
#define STD_OUTPUT_HANDLE
BOOL WINAPI MessageBeep(_In_ UINT)
VOID SetCursorXY(SHORT x, SHORT y)
#define ReadFile(a, b, c, d, e)
#define MultiByteToWideChar
#define RIGHT_CTRL_PRESSED
VOID History(INT, LPTSTR)
#define RIGHT_ALT_PRESSED