fixed arrow keys while working with insert mode. useable again, no ncurses issues