pressing a character key on editor adds it to the map