linenoiseEdit() escapes processing refactor.