From 686f7e6dd585248aa6659fc908b5f0e397767b1c Mon Sep 17 00:00:00 2001 From: probonopd Date: Wed, 23 Apr 2025 01:04:28 +0200 Subject: [PATCH] Fix start screen on soft reboot e.g., caused by BYE via FTP --- src/userinterface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/userinterface.cpp b/src/userinterface.cpp index 77b75f4..43a94ff 100644 --- a/src/userinterface.cpp +++ b/src/userinterface.cpp @@ -154,7 +154,8 @@ bool CUserInterface::Initialize (void) m_pLCDBuffered = new CWriteBufferDevice (m_pLCD); assert (m_pLCDBuffered); - + // clear sceen and go to top left corner + LCDWrite ("\x1B[H\x1B[J"); // cursor home and clear screen LCDWrite ("\x1B[?25l\x1B""d+"); // cursor off, autopage mode LCDWrite ("MiniDexed\nLoading..."); m_pLCDBuffered->Update ();