Skip to content

Prints new line when exiting the REPL #3292

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

Merged
merged 1 commit into from
Oct 9, 2017

Conversation

allanrenucci
Copy link
Contributor

In sbt:

Before:

> repl
scala> :quit
[success] Total time: 8 s, completed Oct 9, 2017 2:31:06 PM
> repl
scala> ctrl-d [success] Total time: 7 s, completed Oct 9, 2017 2:31:18 PM

Now:

> repl
scala> :quit

[success] Total time: 8 s, completed Oct 9, 2017 2:30:41 PM
> repl
scala> ctrl-d
[success] Total time: 4 s, completed Oct 9, 2017 2:30:48 PM

This aligns the behavior with what is currently done in scalac

Before:
```scala
> repl
scala> :quit
[success] Total time: 8 s, completed Oct 9, 2017 2:31:06 PM
> repl
scala> ctrl-d [success] Total time: 7 s, completed Oct 9, 2017 2:31:18 PM
```

Now:
```scala
> repl
scala> :quit

[success] Total time: 8 s, completed Oct 9, 2017 2:30:41 PM
> repl
scala> ctrl-d
[success] Total time: 4 s, completed Oct 9, 2017 2:30:48 PM
```
@felixmulder
Copy link
Contributor

LGTM!

@felixmulder felixmulder merged commit 6edced8 into scala:master Oct 9, 2017
@allanrenucci allanrenucci deleted the repl-quit branch October 11, 2017 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants