question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider supporting CTRL+D to close the REPL

See original GitHub issue

Many REPLs (Ruby, Haskell) can be terminated with CTRL+d. It would be nice if Java-REPL could be stopped the same way.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
stroborobocommented, Apr 28, 2015

+1

ctrl-d issues an end-of-transmission character, and is therefor used as a shortcut to exit, ctrl-c on the other hand issues an end-of-text character and should terminate the current input, not the program itself 😃

0reactions
prem2014commented, Jun 11, 2015

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to exit REPL process in correct way? - Replit
You can access the shell via the command palette (F1 I think, but you can also right click in the editor window, then...
Read more >
Exiting the REPL should be .exit instead of exit #4772 - GitHub
Press Ctrl+D or type "Deno.exit()" to exit REPL. > ... Consider if we added a break command for example. These are meta REPL...
Read more >
C / Ctrl-C closes REPL expression interpreter interactive loop
Hello, I've noticed that the scala REPL is easily inadvertently closed by a Ctrl-C / ^C keystroke (I'm experiencing this under Linux, ...
Read more >
The MicroPython Interactive Interpreter Mode (aka REPL)
You can interrupt a running program by pressing Ctrl-C. This will raise a KeyboardInterrupt which will bring you back to the REPL, providing...
Read more >
Node.js - REPL Terminal - Tutorialspoint
ctrl + c − terminate the current command. · ctrl + c twice − terminate the Node REPL. · ctrl + d −...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found