diff --git a/src/emsesp.cpp b/src/emsesp.cpp index 12a515590..31718654a 100644 --- a/src/emsesp.cpp +++ b/src/emsesp.cpp @@ -1691,7 +1691,7 @@ void EMSESP::loop() { static bool show_prompt = true; - // user has to ctrl-c to create a serial console stream, exit command will close it + // user has to CTRL-S to create a serial console stream, exit command will close it // this saves around 2kb of heap memory if (shell_) { if (!shell_->running()) { @@ -1710,7 +1710,7 @@ void EMSESP::loop() { show_prompt = true; } // https://daleswanson.org/ascii.htm#:~:text=0 - if (c == '\x03') { + if (c == '\x13') { start_serial_console(); } } @@ -1731,7 +1731,7 @@ void EMSESP::start_serial_console() { void EMSESP::shell_prompt() { #ifndef EMSESP_STANDALONE serial_console_.println(); - serial_console_.printf("EMS-ESP %s: press CTRL-C to activate this serial console", EMSESP_APP_VERSION); + serial_console_.printf("EMS-ESP %s: press CTRL-S to activate this serial console", EMSESP_APP_VERSION); serial_console_.println(); #endif }