Added input area and keylistener