Files
node/lib
Mattias Runge-Broberg d7640a37b2 readline: add history event and option to set initial history
Add a history event which is emitted when the history has
been changed. This enables persisting of the history in
some way but also to allows a listener to alter the
history. One use-case could be to prevent passwords from
ending up in the history.

A constructor option is also added to allow for setting
an initial history list when creating a Readline interface.

PR-URL: https://github.com/nodejs/node/pull/33662
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-01-25 06:47:05 -08:00
..
2020-05-24 03:26:21 +02:00
2020-02-18 22:15:50 -08:00
2020-10-21 01:26:34 +02:00
2021-01-12 11:00:02 +01:00
2021-01-22 19:54:34 -08:00
2021-01-22 19:56:34 -08:00
2021-01-22 19:56:34 -08:00
2020-12-29 16:06:05 +01:00
2021-01-17 17:06:22 +08:00
2021-01-22 19:54:34 -08:00
2020-12-01 14:27:43 +00:00
2020-12-02 20:22:34 +00:00
2021-01-17 17:06:22 +08:00
2020-12-28 19:47:41 +00:00
2020-12-22 19:39:31 +00:00
2021-01-22 19:39:47 -08:00