mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Fix telnet line length regression
This commit is contained in:
parent
f71ca3e0a2
commit
307e1d9c29
@ -91,7 +91,7 @@ void TelnetWrite(char *line, uint32_t len) {
|
||||
Telnet.client.printf("\x1b[%dm", diffcolor);
|
||||
Telnet.client.write(line, time_len);
|
||||
Telnet.client.printf("\x1b[%dm", textcolor);
|
||||
Telnet.client.write(time_end, len - time_len -1);
|
||||
Telnet.client.write(time_end, len - time_len);
|
||||
Telnet.client.write("\x1b[0m\r\n"); // Restore colors
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user