edd.py: input mode works in place with cursor in window
ed.py: tweak formatting in a few comments