optional color for serial text in prompt
This commit is contained in:
@@ -15,9 +15,17 @@
|
||||
#include "common.h"
|
||||
|
||||
#define PROXPROMPT_CON "[con] pm3 --> "
|
||||
#define PROXPROMPT_CON_COLOR "[\001\033[1;32m\002con\001\033[0m\002] pm3 --> "
|
||||
|
||||
#define PROXPROMPT_USB "[usb] pm3 --> "
|
||||
#define PROXPROMPT_USB_COLOR "[\001\033[1;32m\002usb\001\033[0m\002] pm3 --> "
|
||||
|
||||
#define PROXPROMPT_FPC "[fpc] pm3 --> "
|
||||
#define PROXPROMPT_FPC_COLOR "[\001\033[1;32m\002fpc\001\033[0m\002] pm3 --> "
|
||||
|
||||
#define PROXPROMPT_OFFLINE "[offline] pm3 --> "
|
||||
#define PROXPROMPT_OFFLINE_COLOR "[\001\033[1;31m\002offline\001\033[0m\002] pm3 --> "
|
||||
|
||||
#define PROXHISTORY "history.txt"
|
||||
#define PROXLOG "log_%Y%m%d.txt"
|
||||
#define MAX_NESTED_CMDSCRIPT 10
|
||||
|
||||
Reference in New Issue
Block a user