-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SI-8308 Fix REPL tab completion after suspend/resume
Implementation borrowed from SBT. For best results, we need to use `sun.misc.SignalHandler` to repair JLine immediately after SIGCONT. If that isn't avaialable, we avoid crashing, and get the terminal working after the next newline is entered. The signal handler registration can be disabled with `-Dscala.repl.disable.cont`. Access to `sun.misc` is performed via reflection. Tested manually on MacOS X: http://recordit.co/mjOTxvu84K
- Loading branch information
Showing
1 changed file
with
79 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters