mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
formatted text box
This commit is contained in:
@@ -63,12 +63,12 @@ void EMSESPShell::stopped() {
|
|||||||
// this is one of the first functions called when the shell is started
|
// this is one of the first functions called when the shell is started
|
||||||
void EMSESPShell::display_banner() {
|
void EMSESPShell::display_banner() {
|
||||||
println();
|
println();
|
||||||
printfln(F("┌──────────────────────────────────────────┐"));
|
printfln(F("┌──────────────────────────────────────┐"));
|
||||||
printfln(F("│ %sEMS-ESP version %-10s%s │"), COLOR_BOLD_ON, EMSESP_APP_VERSION, COLOR_BOLD_OFF);
|
printfln(F("│ %sEMS-ESP version %-10s%s │"), COLOR_BOLD_ON, EMSESP_APP_VERSION, COLOR_BOLD_OFF);
|
||||||
printfln(F("│ %s%shttps://github.com/proddy/EMS-ESP%s │"), COLOR_BRIGHT_GREEN, COLOR_UNDERLINE, COLOR_RESET);
|
printfln(F("│ %s%shttps://github.com/proddy/EMS-ESP%s │"), COLOR_BRIGHT_GREEN, COLOR_UNDERLINE, COLOR_RESET);
|
||||||
printfln(F("│ │"));
|
printfln(F("│ │"));
|
||||||
printfln(F("│ type %shelp%s to show available commands │"), COLOR_UNDERLINE, COLOR_RESET);
|
printfln(F("│ type %shelp%s to show available commands │"), COLOR_UNDERLINE, COLOR_RESET);
|
||||||
printfln(F("└──────────────────────────────────────────┘"));
|
printfln(F("└──────────────────────────────────────┘"));
|
||||||
println();
|
println();
|
||||||
|
|
||||||
// set console name
|
// set console name
|
||||||
|
|||||||
Reference in New Issue
Block a user