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

Native mode broken on linux #762

Closed
jvalkeal opened this issue Jun 2, 2023 · 1 comment
Closed

Native mode broken on linux #762

jvalkeal opened this issue Jun 2, 2023 · 1 comment
Labels
branch/3.0.x Issue for a branch for/backport For backporting type/bug Is a bug report
Milestone

Comments

@jvalkeal
Copy link
Contributor

jvalkeal commented Jun 2, 2023

Not really sure why binary from a graalvm seems to lose terminal styles. Image shows how version command should show version with a style.

image

Also happens on a 3.0.x.

@jvalkeal jvalkeal added the type/bug Is a bug report label Jun 2, 2023
@jvalkeal
Copy link
Contributor Author

jvalkeal commented Jun 3, 2023

Caused by upgrade to jline 3.23.0, more on jline/jline3#843

This is probably also issue on macos. We have hints for windows where it's been required to use jna libs so things should work fine there. Unless there's a quick fix on a jline side, a workaround for linux/macos is to provide jna hints(like done on a windows).

@jvalkeal jvalkeal changed the title Native mode loses terminal styles Native mode broken on linux Jun 4, 2023
@jvalkeal jvalkeal added this to the 3.1.1 milestone Jun 7, 2023
@jvalkeal jvalkeal added for/backport For backporting branch/3.0.x Issue for a branch labels Jun 7, 2023
jvalkeal added a commit that referenced this issue Jun 7, 2023
- Need for libjnidispatch.so, CLibrary$termios
  and CLibrary$winsize.
- Backport #762
- Fixes #768
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch/3.0.x Issue for a branch for/backport For backporting type/bug Is a bug report
Projects
None yet
Development

No branches or pull requests

1 participant