emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
https://mqttx.app
Apache License 2.0
3.64k stars 428 forks source link

fix(cli): update wrong prompt type when error #1670

Closed ysfscream closed 1 month ago

ysfscream commented 1 month ago

PR Checklist

If you have any questions, you can refer to the Contributing Guide

What is the current behavior?

CLI Publish retries in the loop if disconnected by an invalid topic

Issue Number

Example: #1667

What is the new behavior?

image image image

Does this PR introduce a breaking change?

Specific Instructions

Are there any specific instructions or things that should be known prior to review?

Other information