Fix cursor positioning in vty.
Accept <C-m> as <CR> in vim ex mode even with pango frontend.