readline: Allow history to be disabled
Checklist
-
tests and code linting passes -
a test is included -
documentation is changed or added -
the commit message follows commit guidelines
Affected core subsystem(s)
readline
Description of change
Fixes #6336 (closed)
- The
historySize
to default to30
only ifundefined
. - If
historySize
is set to 0, then disable caching the line. - Added unit tests.
- Updated documentation.