get the text input working

Signed-off-by: Owen Harris <owenllharris@gmail.com>