press left arrow to delete charactar (from input) and space to add to output (List)
this took alot of time honestly