implementing typing and arrow key nav
implementing enter-finalizer and backspace