Arrow scancodes replaced with enums in linenoiseEdit().