curses map with navigation keys.
cursor coordinates are poorly calculated.