0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Ruben Bridgewater 9e4349e797
repl: implement reverse search
Add a reverse search that works similar to the ZSH one. It is
triggered with <ctrl> + r and <ctrl> + s. It skips duplicated history
entries and works with multiline statements. Matching entries indicate
the search parameter with an underscore and cancelling with <ctrl> + c
or escape brings back the original line.
Multiple matches in a single history entry work as well and are
matched in the order of the current search direction. The cursor is
positioned at the current match position of the history entry.
Changing the direction immediately checks for the next entry in the
expected direction from the current position on.
Entries are accepted as soon any button is pressed that doesn't
correspond with the reverse search.
The behavior is deactivated for simple terminals. They do not support
most ANSI escape codes that are necessary for this feature.

PR-URL: https://github.com/nodejs/node/pull/31006
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-12-25 11:16:38 +01:00
..
api repl: implement reverse search 2019-12-25 11:16:38 +01:00
api_assets doc: implement minor CSS improvements 2019-10-03 20:04:43 -07:00
changelogs 2019-12-18, Version 13.5.0 (Current) 2019-12-18 13:51:03 -05:00
guides doc: clarify expectations for PR commit messages 2019-12-15 15:02:07 +01:00
.eslintrc.yaml
abi_version_registry.json src: update NODE_MODULE_VERSION to 81 2019-11-08 15:46:34 +01:00
first_timer_badge.png
full-white-stripe.jpg
node.1 src: make --use-largepages a runtime option 2019-12-22 11:49:26 -08:00
offboarding.md doc: use consistent indenting for unordered list items 2019-09-03 20:55:39 -07:00
onboarding-extras.md doc: add blanks around code fences 2019-08-31 15:31:13 -07:00
onboarding.md doc: remove "make that" from onboarding.md 2019-06-23 07:07:14 -07:00
osx_installer_logo.png
releases.md doc: update signature algorithm in release doc 2019-12-02 06:26:30 +01:00
STYLE_GUIDE.md doc: add "Be direct." to the style guide 2019-12-15 13:16:56 -08:00
template.html doc: specify display=fallback for Google Fonts 2019-09-26 22:46:34 -07:00
thin-white-stripe.jpg