diff --git a/README.md b/README.md index 60901c4..fa92889 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ * [x] Hex断帧设置 * [x] UDP数据转发 * [x] TCP数据转发 +* [x] 参数交互配置 +* [x] Ctrl组合键 * [ ] 文件接收发送 ## 运行示例 @@ -34,3 +36,9 @@ 5. Hex发送 `./COM -p COM8 -b 115200` ![img5.png](image/img5.png) +6. 交互配置 `./COM` + + ![img6.png](image/img6.png) +7. Ctrl组合键发送指令.ctrl `.ctrl c` + + ![img7.png](image/img7.png) diff --git a/flag.go b/flag.go index 0a4b1a4..c877ec5 100644 --- a/flag.go +++ b/flag.go @@ -180,7 +180,6 @@ func getCliFlag() { config.inputCode = "hex" } v, _ = inf.NewConfirmWithSelection( - confirm.WithDefaultYes(), confirm.WithPrompt("启用高级配置"), ).Display() if v { diff --git a/image/img6.png b/image/img6.png new file mode 100644 index 0000000..2500af9 Binary files /dev/null and b/image/img6.png differ diff --git a/image/img7.png b/image/img7.png new file mode 100644 index 0000000..4de688b Binary files /dev/null and b/image/img7.png differ