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:
parent
60f5337a7a
commit
7736314dbe
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ function init() {
|
||||||
ws.onopen = function() {
|
ws.onopen = function() {
|
||||||
output("Connection opened");
|
output("Connection opened");
|
||||||
connected = "true";
|
connected = "true";
|
||||||
// No need to print Escape codes for colors
|
// No need to print escape codes
|
||||||
ws.send("shell colors off\n");
|
ws.send("shell colors off\nshell vt100 off\n");
|
||||||
};
|
};
|
||||||
|
|
||||||
ws.onmessage = function(e) {
|
ws.onmessage = function(e) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue