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 <robert.lubos@nordicsemi.no>
This commit is contained in:
Robert Lubos 2025-01-09 16:27:05 +01:00 committed by Benjamin Cabé
parent 60f5337a7a
commit 7736314dbe

View file

@ -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) {