A wrapper for linenoise
Because global variables in header files don't work if included from multiple places.