node/lib/internal/repl
Ruben Bridgewater 625a0ec5e1
readline,repl: add substring based history search
This improves the current history search feature by adding substring
based history search similar to ZSH. In case the `UP` or `DOWN`
buttons are pressed after writing a few characters, the start string
up to the current cursor is used to search the history.

All other history features work exactly as they used to.

PR-URL: https://github.com/nodejs/node/pull/31112
Fixes: https://github.com/nodejs/node/issues/28437
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2020-01-10 09:11:47 +01:00
..
await.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
history.js lib: enforce use of Boolean from primordials 2019-11-30 13:37:23 +01:00
utils.js readline,repl: add substring based history search 2020-01-10 09:11:47 +01:00