Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 75dbafc

Browse filesBrowse files
hemanthFishrock123
authored andcommitted
repl: To exit, press ^C again or type .exit.
When the user hits `^C` in the REPL show more info about `.exit`. The idea was to give more info to the user when they hit ^C. Current version just displays `(^C again to quit)` and most of the users are not aware of the `.exit` command that would Exit the repl. PR-URL: #3368 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9cdceac commit 75dbafc
Copy full SHA for 75dbafc

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/repl.js‎

Copy file name to clipboardExpand all lines: lib/repl.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ function REPLServer(prompt,
355355
sawSIGINT = false;
356356
return;
357357
}
358-
self.output.write('(^C again to quit)\n');
358+
self.output.write('(To exit, press ^C again or type .exit)\n');
359359
sawSIGINT = true;
360360
} else {
361361
sawSIGINT = false;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.