Skip to content
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

Windows CMD, redirecting input using JLine with Jansi fails #597

Closed
mattirn opened this issue Oct 30, 2020 · 0 comments
Closed

Windows CMD, redirecting input using JLine with Jansi fails #597

mattirn opened this issue Oct 30, 2020 · 0 comments
Milestone

Comments

@mattirn
Copy link
Collaborator

mattirn commented Oct 30, 2020

Redirecting input from a file to JLine app fails (Windows/CMD) when using Jansi. JLine does not create dumb terminal as it should. This is not a regression redirecting fails also with Jansi version 1.18.

c:\tmp\jline3-master\demo>jline-repl.bat jansi < input.txt
Launching Groovy REPL...
Classpath: c:\tmp\jline3-master\demo\target\classes;c:\tmp\jline3-master\demo\target\lib\jline-3.17.2-SNAPSHOT.jar;c:\tmp\jline3-master\demo\target\lib\jline-builtins-3.17.2-SNAPSHOT.jar;c:\tmp\jline3-master\demo\target\lib\jline-console-3.17.2-SNAPSHOT.jar;c:\tmp\jline3-master\demo\target\lib\jline-groovy-3.17.2-SNAPSHOT.jar;c:\tmp\jline3-master\demo\target\lib\jline-reader-3.17.2-SNAPSHOT.jar;c:\tmp\jline3-master\demo\target\lib\jline-style-3.17.2-SNAPSHOT.jar;c:\tmp\jline3-master\demo\target\lib\jline-terminal-3.17.2-SNAPSHOT.jar;c:\tmp\jline3-master\demo\target\lib\groovy-3.0.6.jar;c:\tmp\jline3-master\demo\target\lib\groovy-console-3.0.6.jar;c:\tmp\jline3-master\demo\target\lib\groovy-json-3.0.6.jar;c:\tmp\jline3-master\demo\target\lib\groovy-swing-3.0.6.jar;c:\tmp\jline3-master\demo\target\lib\groovy-templates-3.0.6.jar;c:\tmp\jline3-master\demo\target\lib\groovy-xml-3.0.6.jar;c:\tmp\jline3-master\demo\target\lib\ivy-2.5.0.jar;c:\tmp\jline3-master\demo\target\lib\jansi-2.0.1.jar
JLine terminal: windows-vtp
c:\tmp\jline3-master\demo>
@mattirn mattirn closed this as completed in 1d7fb07 Nov 5, 2020
@mattirn mattirn added this to the 3.17.2 milestone Nov 5, 2020
@mattirn mattirn mentioned this issue Dec 11, 2020
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

No branches or pull requests

1 participant