mirror of
https://github.com/sharkcz/rkdeveloptool.git
synced 2024-11-22 14:06:47 +01:00
Fix NORMAL_COLOR_ATTR definition
NORMAL_COLOR_ATTR hardcoded white-on-black text. Fix this to reset to the actual user-controlled defaults. This resolves white-on-black text after errors on a black-on-white terminal (issue #10). Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
e5ee8cc01e
commit
3601cc0888
2
main.cpp
2
main.cpp
@ -24,7 +24,7 @@ CONFIG_ITEM_VECTOR g_ConfigItemVec;
|
||||
#define CURSOR_MOVE_HOME printf("%c[H", 0x1B)
|
||||
#define CURSOR_CLEAR_SCREEN printf("%c[2J", 0x1B)
|
||||
#define ERROR_COLOR_ATTR printf("%c[30;41m", 0x1B);
|
||||
#define NORMAL_COLOR_ATTR printf("%c[37;40m", 0x1B);
|
||||
#define NORMAL_COLOR_ATTR printf("%c[0m", 0x1B);
|
||||
extern UINT CRC_32(unsigned char* pData, UINT ulSize);
|
||||
extern unsigned short CRC_16(unsigned char* aData, UINT aSize);
|
||||
extern void P_RC4(unsigned char* buf, unsigned short len);
|
||||
|
Loading…
Reference in New Issue
Block a user