Skip to content
Snippets Groups Projects

restore CLI on some consoles

Merged David Gauchard requested to merge restorecli into master
1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
+ 1
2
@@ -117,13 +117,12 @@ void Cli::check_emergency ()
void Cli::loop (Stream& input)
{
while (true)
{
if (!input.available())
return;
int c = input.read();
if (c == 13)
if (c == 10 || c == 13)
break;
if (c >= 32 && c <= 127)
_currentInput += (char)c;
Loading