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

Function RemapChar

source/Debugger/Debug.cpp:5232–5240  ·  view source on GitHub ↗

Convert ctrl characters to displayable Note: FormatCharTxtCtrl() and RemapChar()

Source from the content-addressed store, hash-verified

5230// Convert ctrl characters to displayable
5231// Note: FormatCharTxtCtrl() and RemapChar()
5232static char RemapChar (const char c)
5233{
5234 if ( c < 0x20 )
5235 return c + '@'; // Remap INVERSE control character to NORMAL
5236 else if ( c == 0x7F )
5237 return ' '; // Remap checkboard (DEL) to space
5238
5239 return c;
5240}
5241
5242
5243size_t Util_GetDebuggerText ( char* &pText_ )

Callers 1

Util_GetTextScreenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected