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

Pasting a command in Linux environment after upgrading to latest version does not work properly #254

Closed
ThanasisBarekas opened this issue Nov 8, 2022 · 2 comments

Comments

@ThanasisBarekas
Copy link

Hello,

I hope you are doing well! I have upgraded my project to spring-boot-starter-parent 2.7.5 and ssh-shell-spring-boot-starter to 2.0.2.
I have done changes needed in order to work propely but after testing my app i have found out that pasting commands work as before in windows environments but in linux the app behaves strangely.
If you paste a command (although it works perfectlty if you write it or if you build it through autocompletion) it does not work until you press enter multiple times. Then after some time it executes the command and prints all these enters.

Is this something known ?

Thank you,
Thanasis

@marvin-enthus
Copy link

Hi @ThanasisBarekas just seen your issue - we also stumbled over this behavior. It's an issue of the underlying jline3 dependency - i.e. jline/jline3#801 ; Our solution is to set -Dorg.jline.terminal.jna=false as java option during startup.

@ThanasisBarekas
Copy link
Author

Hello,
I tried it and it worked :) Thank you very much and merry X mas!

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

2 participants