Submodularize the linenoise library.