From 307e1d9c2984610840b45b6c98ddd65517540dcb Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 23 Mar 2025 22:36:42 +0100 Subject: [PATCH] Fix telnet line length regression --- tasmota/tasmota_xdrv_driver/xdrv_78_telnet.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }