[Console] Accept all valid ASCII characters for input

This commit is contained in:
Ton Huisman
2026-05-17 22:25:33 +02:00
parent 72fe2e5f97
commit 7955412bf9
+1 -1
View File
@@ -152,7 +152,7 @@ bool EspEasy_Console_Port::process_consoleInput(uint8_t SerialInByte)
return false;
}
if (isprint(SerialInByte))
if (SerialInByte >= 32) // Any character from space and up
{
if (SerialInByteCounter < CONSOLE_INPUT_BUFFER_SIZE) { // add char to string if it still fits
InputBuffer_Serial[SerialInByteCounter++] = SerialInByte;