-
Notifications
You must be signed in to change notification settings - Fork 21
JLine 3: restore behavior: "You typed two blank lines. Starting a new command."? #12266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
but |
ah, this has to do with @som-snytt's "Excise old continuation handling" todo in scala/scala-dev#689. the handling for this is in
whereas |
The tests use a special testing entry point in |
If, for instance, you lose track of how many parentheses you should've closed, it's probably nice to keep the fact that two blank lines end the snippet and give you back a prompt so you can try again. |
If I had to choose, I'd prefer ctl-C for get me outta here. |
the way I found to nope out is C-p to the top and then C-k til all the lines are killed, but perhaps there's a shorter nope-nope-nope sequence we have yet to identify oh hey there @som-snytt, was wondering if you'd noped out of this whole business, you think you get weekends off do you? |
@SethTisue we're all coronaed out here, and not the beer, so I've had no time for anything, sorry. |
fortunately we're safe here in Switzerland, which... |
Thanks for removing the Everyone was out at the office, so instead of chatting, I was deleting partest flags files. |
I've now added a "help-wanted" label on many of these tickets instead, but I don't see a way to remove the stigma of "SethTisue added prio:low label" in the history, so these tickets will probably suffer from lingering self-esteem issues. I will try to learn from this incident. |
Working for me: ctrl-G (like emacs) I did press ctrl-SPACE though, and what I can't figure out is how to make it stop highlighting hehehe |
ah, nice, good to know! tends to leave junk on the screen, but perhaps that's JLine's fault rather than something in the Scala integration |
this no longer triggers, but there's less need for it now that we have multiline editing, so not a blocker ... I think?
The text was updated successfully, but these errors were encountered: