mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2025-01-09 09:31:21 +00:00
Firmware: Use ESC [ K to blank line
Change-Id: I055057a1b6a17644198bc3f7f3b22d9fd8f19570
This commit is contained in:
parent
14a0daaffd
commit
35e3c8f314
@ -557,14 +557,12 @@ void readCmd(char *cmd) {
|
|||||||
#if defined(COMMAND_HISTORY)
|
#if defined(COMMAND_HISTORY)
|
||||||
// Wipe out the last command
|
// Wipe out the last command
|
||||||
Serial_TxByte0(13);
|
Serial_TxByte0(13);
|
||||||
for (i = 0; i < 32; i++) {
|
Serial_TxByte0(27);
|
||||||
Serial_TxByte0(32);
|
Serial_TxByte0('[');
|
||||||
}
|
Serial_TxByte0('K');
|
||||||
Serial_TxByte0(13);
|
|
||||||
#endif
|
#endif
|
||||||
logstr(">> ");
|
logstr(">> ");
|
||||||
#if defined(COMMAND_HISTORY)
|
#if defined(COMMAND_HISTORY)
|
||||||
i = 0;
|
|
||||||
if (reuse) {
|
if (reuse) {
|
||||||
while (cmd[i]) {
|
while (cmd[i]) {
|
||||||
Serial_TxByte0(cmd[i++]);
|
Serial_TxByte0(cmd[i++]);
|
||||||
|
Loading…
Reference in New Issue
Block a user