         <div id='status'>Connecting...</div>\
         <ul id='messages'></ul>\
         <form id='message-form' action='#' method='post'>\
-            <textarea id='message' placeholder='Write your message here...' required></textarea><br/>\
+            <input id='message' placeholder='Write your message here...' required></input>\
             <button type='submit'>Send Message</button>\
             <button type='button' id='close'>Close Connection</button>\
         </form>\

    webSocket.loop();
    if (millis() > timeout) {
      char buf[50];
      sprintf(buf,"%d",millis());
      webSocket.broadcastTXT(buf);
      timeout = millis() + 5000;
    }
    yield();
}

uint32_t timeout;

void setup() {
    USE_SERIAL.begin(115200);

    //Serial.setDebugOutput(true);
    USE_SERIAL.setDebugOutput(true);

    WiFiMulti.addAP("ssid", "pass");

    while(WiFiMulti.run() != WL_CONNECTED) {
        delay(100);
