Added basic ANSI codes
[hackover2013-badge-firmware.git] / core / cmd / cmd.c
index 36c55fc..2277f07 100644 (file)
@@ -139,7 +139,12 @@ void cmdRx(uint8_t c)
         #if CFG_INTERFACE_SILENTMODE == 0
         printf("%c",c);
         #endif
-        if (msg_ptr > msg)
+        if (msg_ptr == msg)
+        {
+            // Send bell alert and space (to maintain position)
+            printf("\a ");
+        }
+        else if (msg_ptr > msg)
         {
             msg_ptr--;
         }
This page took 0.025496 seconds and 4 git commands to generate.