Enable input editing with the linenoise library.