Fix right arrow handling.
Fix right arrow handling.

Bug introduced in recent refactoring.

tadzik/linenoise,arnognulf/linenoise,saisai/linenoise,John-Colvin/linenoise,howerj/libline,rlonstein/linenoise,zaxbbun/linenoise,antirez/linenoise,hoelzro/linenoise,AresTao/linenoise,dragontux/linenoise,clibs/linenoise,digsrc/linenoise,MoarVM/linenoise