mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
text formatting
This commit is contained in:
@@ -56,7 +56,8 @@ void EMSESPShell::stopped() {
|
||||
|
||||
// remove all custom contexts
|
||||
commands->remove_all_commands();
|
||||
_console_commands_loaded = false; // make sure they got loaded next time a console is opened
|
||||
|
||||
_console_commands_loaded = false; // make sure they get reloaded next time a console is opened
|
||||
}
|
||||
|
||||
// show welcome banner
|
||||
@@ -74,7 +75,7 @@ void EMSESPShell::display_banner() {
|
||||
printfln(F("│ │"));
|
||||
|
||||
if (System::safe_mode()) {
|
||||
printfln(F("│ %sIN SAFE MODE. EMS BUS IS DISABLED%s │"), COLOR_BRIGHT_RED_BACKGROUND, COLOR_RESET);
|
||||
printfln(F("│ %sIN SAFE MODE. EMS BUS IS DISABLED%s │"), COLOR_BRIGHT_RED_BACKGROUND, COLOR_RESET);
|
||||
#ifdef EMSESP_SAFE_MODE
|
||||
printfln(F("│ %s!FORCED AT COMPILE TIME!%s │"), COLOR_BRIGHT_RED, COLOR_RESET);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user