-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Regression: >.... prompt when using dumb terminal #411
Milestone
Comments
mattirn
added a commit
to mattirn/jline3
that referenced
this issue
Jul 4, 2019
gnodet
added a commit
that referenced
this issue
Jul 7, 2019
Fix dumb terminal prompt, fixes issue #411
JLine 3.12.1 has been released with this fix. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Using
LineReader
on JLine 1.12.0 produces a>....
prompt instead of the specified prompt(here:
$
) in dumb terminals. Native terminals do not seem to be affected.Example code:
Run it in IntelliJ IDEA or another dumb terminal, or use the system properties to force a dumb terminal. The
>....
prompt is shown instead of$
. It works fine on JLine 1.11.0 and below.I suspect that #311 is the cause of this, since it added a
StringBuilder
with that string:062d25c#diff-10c315592498f1bd016543e7c8d26ab5R3743 (cc @mattirn)
I don't really understand the code this commit changed, so I'm not sure about the purpose of that string for the string builder. It looks somewhat suspicious...
The text was updated successfully, but these errors were encountered: