mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 14:23:50 -07:00
Update CLI prompt after switching connection type
This commit is contained in:
parent
abdaf57cd9
commit
3aab9a4d04
3 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
|
||||||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||||
|
|
||||||
## [unreleased][unreleased]
|
## [unreleased][unreleased]
|
||||||
|
- Fixed CLI prompt - Update connection type prompt after running `hw connect` (@wh201906)
|
||||||
- Changed `uart_receive()` - Check if TCP connection is lost (@wh201906)
|
- Changed `uart_receive()` - Check if TCP connection is lost (@wh201906)
|
||||||
- Change `data detectclock` - now tries all clocks if called w/o any params (@iceman1001)
|
- Change `data detectclock` - now tries all clocks if called w/o any params (@iceman1001)
|
||||||
- Changed `lf search -1u` - improved the autocorrelation detection for unknown signals (@iceman1001)
|
- Changed `lf search -1u` - improved the autocorrelation detection for unknown signals (@iceman1001)
|
||||||
|
|
|
@ -281,6 +281,8 @@ main_loop(char *script_cmds_file, char *script_cmd, bool stayInCommandLoop) {
|
||||||
prompt_net = PROXPROMPT_NET_UDPV6;
|
prompt_net = PROXPROMPT_NET_UDPV6;
|
||||||
break;
|
break;
|
||||||
case PM3_NONE:
|
case PM3_NONE:
|
||||||
|
prompt_net = PROXPROMPT_NET_NONE;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
#define PROXPROMPT_NET_UDPV4 "|" _RL_BOLD_GREEN_("udp")
|
#define PROXPROMPT_NET_UDPV4 "|" _RL_BOLD_GREEN_("udp")
|
||||||
#define PROXPROMPT_NET_TCPV6 "|" _RL_BOLD_GREEN_("tcp v6")
|
#define PROXPROMPT_NET_TCPV6 "|" _RL_BOLD_GREEN_("tcp v6")
|
||||||
#define PROXPROMPT_NET_UDPV6 "|" _RL_BOLD_GREEN_("udp v6")
|
#define PROXPROMPT_NET_UDPV6 "|" _RL_BOLD_GREEN_("udp v6")
|
||||||
|
#define PROXPROMPT_NET_NONE ""
|
||||||
|
|
||||||
|
|
||||||
#define PROXHISTORY "history.txt"
|
#define PROXHISTORY "history.txt"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue