File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -153,10 +153,16 @@ and try to print `obj` in REPL, it will invoke the custom `inspect()` function:
153153```
154154
155155## Class: REPLServer
156+ <!-- YAML
157+ added: v0.1.91
158+ -->
156159
157160This inherits from [ Readline Interface] [ ] with the following events:
158161
159162### Event: 'exit'
163+ <!-- YAML
164+ added: v0.7.7
165+ -->
160166
161167` function () {} `
162168
@@ -175,6 +181,9 @@ replServer.on('exit', () => {
175181
176182
177183### Event: 'reset'
184+ <!-- YAML
185+ added: v0.11.0
186+ -->
178187
179188` function (context) {} `
180189
@@ -197,6 +206,9 @@ replServer.on('reset', (context) => {
197206```
198207
199208### replServer.defineCommand(keyword, cmd)
209+ <!-- YAML
210+ added: v0.3.0
211+ -->
200212
201213* ` keyword ` {String}
202214* ` cmd ` {Object|Function}
@@ -235,6 +247,9 @@ Hello, Node.js User!
235247```
236248
237249### replServer.displayPrompt([ preserveCursor] )
250+ <!-- YAML
251+ added: v0.1.91
252+ -->
238253
239254* ` preserveCursor ` {Boolean}
240255
You can’t perform that action at this time.
0 commit comments