Sets the number of maximum entries in the history. Linenoise is initialised with 100 lines of history.