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

Kernel32.readConsoleInputHelper hides the underlying problem when an exception is thrown #183

Closed
gnodet opened this issue Dec 15, 2020 · 2 comments · May be fixed by gnodet/jansi#1
Closed

Comments

@gnodet
Copy link
Member

gnodet commented Dec 15, 2020

See

Dec 11, 2020 2:24:28 PM org.jline.utils.Log logr
WARNING: Error in WindowsStreamPump
java.io.IOException: ReadConsoleInputW failed
        at org.fusesource.jansi.internal.Kernel32.readConsoleInputHelper(Kernel32.java:816)
        at org.jline.terminal.impl.jansi.win.JansiWinSysTerminal.processConsoleInput(JansiWinSysTerminal.java:134)
        at org.jline.terminal.impl.AbstractWindowsTerminal.pump(AbstractWindowsTerminal.java:460)
        at java.base/java.lang.Thread.run(Unknown Source)

from jline/jline3#298 (comment)

@gnodet gnodet closed this as completed in 9a84c14 Dec 15, 2020
@bdw429s
Copy link

bdw429s commented Dec 15, 2020

@gnodet Thanks for improving the logging. What version will I need to be able to test this?

@gnodet
Copy link
Member Author

gnodet commented Dec 15, 2020

This has been released in Jansi 2.1.1 today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment