diff --git a/tasmota/tasmota_xdrv_driver/xdrv_78_telnet.ino b/tasmota/tasmota_xdrv_driver/xdrv_78_telnet.ino index 269b656f4..64a2e3ae6 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_78_telnet.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_78_telnet.ino @@ -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 } }