 // Telnet Stuff
 #define IAC 255
 
+String lastHost = "";
+
 // ----------------------------------------------------------
 
 char temp[100];

  wifly.write(1);                             // echo
}

int ReadByte()
{
    while (wifly.available() == 0) {}   
    return wifly.read();
}

int PeekByte()
{
    while (wifly.available() == 0) {}   
    return wifly.peek();
}

   C64Serial.print("host: ");
   C64Serial.setTimeout(1000);
   
   String readString = GetInput();
   readString.trim();
         
   if (readString.length() > 0)
   {
     lastHost = readString;
     Telnet(readString);
   }
   else
   {
      Telnet(lastHost);
   }
}

// ----------------------------------------------------------

void display(String message)
{
