mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-05-31 22:41:34 +00:00
TODO: colorize output of CALC
This commit is contained in:
parent
8b09cc47af
commit
a12f4283e9
|
@ -6150,6 +6150,12 @@ Update_t CmdOutputCalc (int nArgs)
|
|||
nBit |= (1 << (iBit * 4)); // 4 bits per hex digit
|
||||
}
|
||||
|
||||
// TODO: Colorize output
|
||||
// CHC_NUM_HEX
|
||||
// CHC_NUM_BIN -- doesn't exist, use CHC_INFO
|
||||
// CHC_NUM_DEC
|
||||
// CHC_ARG_
|
||||
// CHC_STRING
|
||||
wsprintf( sText, TEXT("$%04X 0z%08X %5d '%c' "),
|
||||
nAddress, nBit, nAddress, c );
|
||||
|
||||
|
@ -6169,6 +6175,10 @@ Update_t CmdOutputCalc (int nArgs)
|
|||
_tcscat( sText, TEXT(")") );
|
||||
|
||||
ConsoleBufferPush( sText );
|
||||
|
||||
// If we colorize then w must also guard against character ouput $60
|
||||
// ConsolePrint( sText );
|
||||
|
||||
return ConsoleUpdate();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user