diff --git a/src/main/cli/cli.c b/src/main/cli/cli.c index 1a4b2c9416..838814fe07 100644 --- a/src/main/cli/cli.c +++ b/src/main/cli/cli.c @@ -1511,10 +1511,10 @@ static void cliSerialPassthrough(const char *cmdName, char *cmdline) // leave the mode unchanged. serialPassthrough() handles one-way ports. // Set the baud rate if specified if (ports[i].baud) { - cliPrintf("Port%d is already open, setting baud = %d.\r\n", portIndex, ports[i].baud); + cliPrintf("Port%d is already open, setting baud = %d.\n\r", portIndex, ports[i].baud); serialSetBaudRate(*port, ports[i].baud); } else { - cliPrintf("Port%d is already open, baud = %d.\r\n", portIndex, (*port)->baudRate); + cliPrintf("Port%d is already open, baud = %d.\n\r", portIndex, (*port)->baudRate); } if (ports[i].mode && (*port)->mode != ports[i].mode) { @@ -6545,7 +6545,7 @@ static void processCharacterInteractive(const char c) } if (!bufferIndex || pstart != pend) { /* Print list of ambiguous matches */ - cliPrint("\r\n\033[K"); + cliPrint("\r\033[K"); for (cmd = pstart; cmd <= pend; cmd++) { cliPrint(cmd->name); cliWrite('\t');