Add context to prompt
This commit is contained in:
@@ -14,15 +14,19 @@
|
||||
|
||||
#include "common.h"
|
||||
|
||||
#define PROXPROMPT_CON "[" _BOLD_GREEN_("con") "] pm3 --> "
|
||||
#define PROXPROMPT_MAX_SIZE 255
|
||||
|
||||
#define PROXPROMPT_USB "[" _BOLD_GREEN_("usb") "] pm3 --> "
|
||||
#define PROXPROMPT_COMPOSE "[" "%s" "] pm3 %s--> "
|
||||
|
||||
#define PROXPROMPT_FPC "[" _BOLD_GREEN_("fpc") "] pm3 --> "
|
||||
#define PROXPROMPT_CTX_SCRIPTFILE "(" _YELLOW_("script") ")"
|
||||
#define PROXPROMPT_CTX_SCRIPTCMD "(" _YELLOW_("command") ")"
|
||||
#define PROXPROMPT_CTX_STDIN "(" _YELLOW_("stdin") ")"
|
||||
#define PROXPROMPT_CTX_INTERACTIVE ""
|
||||
|
||||
#define PROXPROMPT_OFFLINE "[" _BOLD_RED_("offline") "] pm3 --> "
|
||||
#define PROXPROMPT_DEV_USB _BOLD_GREEN_("usb")
|
||||
#define PROXPROMPT_DEV_FPC _BOLD_GREEN_("fpc")
|
||||
#define PROXPROMPT_DEV_OFFLINE _BOLD_RED_("offline")
|
||||
|
||||
#define PROXPROMPT_MAX_SIZE sizeof(PROXPROMPT_OFFLINE)
|
||||
|
||||
#define PROXHISTORY "history.txt"
|
||||
#define PROXLOG "log_%Y%m%d.txt"
|
||||
|
||||
Reference in New Issue
Block a user