From 7736314dbef9290e3fad3af69e003a62ceb014ac Mon Sep 17 00:00:00 2001 From: Robert Lubos Date: Thu, 9 Jan 2025 16:27:05 +0100 Subject: [PATCH] samples: net: echo_server: Disable vt100 commands in websocket console Disable vt100 commands too in websocket console, not only the coloring. This allows to prevent printing artifacts in websocket shell backend logging. Signed-off-by: Robert Lubos --- samples/net/sockets/echo_server/src/ws_console/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/net/sockets/echo_server/src/ws_console/index.html b/samples/net/sockets/echo_server/src/ws_console/index.html index add412e3b4c..a5381947bf1 100644 --- a/samples/net/sockets/echo_server/src/ws_console/index.html +++ b/samples/net/sockets/echo_server/src/ws_console/index.html @@ -16,8 +16,8 @@ function init() { ws.onopen = function() { output("Connection opened"); connected = "true"; - // No need to print Escape codes for colors - ws.send("shell colors off\n"); + // No need to print escape codes + ws.send("shell colors off\nshell vt100 off\n"); }; ws.onmessage = function(e) {