modified the CLI prompt to also show if TCP/UDP is used in the communication

This commit is contained in:
iceman1001 committed 2023-10-20 10:38:53 +02:00
1 parent b9ae38f888
commit a35bfbb13e
6 files changed
+54 -9

No files matched your search

+6 -1
View File
@@ -24,7 +24,7 @@
#define PROXPROMPT_MAX_SIZE 255
#define PROXPROMPT_COMPOSE "[" "%s%s" "] pm3 --> "
#define PROXPROMPT_COMPOSE "[" "%s%s%s" "] pm3 --> "
#define PROXPROMPT_CTX_SCRIPTFILE "|" _RL_GREEN_("script")
#define PROXPROMPT_CTX_SCRIPTCMD "|" _RL_GREEN_("script")
@@ -35,6 +35,11 @@
#define PROXPROMPT_DEV_FPC _RL_BOLD_GREEN_("fpc")
#define PROXPROMPT_DEV_OFFLINE _RL_BOLD_RED_("offline")
#define PROXPROMPT_NET_TCPV4 "|" _RL_BOLD_GREEN_("tcp")
#define PROXPROMPT_NET_UDPV4 "|" _RL_BOLD_GREEN_("udp")
#define PROXPROMPT_NET_TCPV6 "|" _RL_BOLD_GREEN_("tcp v6")
#define PROXHISTORY "history.txt"
#define PROXLOG "log_%Y%m%d%H%M%S.txt"
#define MAX_NESTED_CMDSCRIPT 10