MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / ConsoleUpdateCursor

Function ConsoleUpdateCursor

source/Debugger/Debugger_Console.cpp:494–507  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

492
493//===========================================================================
494void ConsoleUpdateCursor ( char ch )
495{
496 if (ch)
497 g_sConsoleCursor[0] = ch;
498 else
499 {
500 ch = (char) g_aConsoleInput[ g_nConsoleInputChars + g_nConsolePromptLen ];
501 if (! ch)
502 {
503 ch = CHAR_SPACE;
504 }
505 g_sConsoleCursor[0] = ch;
506 }
507}
508
509
510//===========================================================================

Callers 1

DebuggerCursorNextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected