-
Notifications
You must be signed in to change notification settings - Fork 220
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
TailTipWidget Enabling by default #571
Comments
It should work... I have modified Groovy REPL so that tailtip widgets are enabled https://github.com/mattirn/jline3/tree/widget-enable, see the last commit mattirn@c1a7b29. In my PC it works as expected. |
Thanks for the reply! I guess I must be missing something in my configuration. I am using jline via picocli (which brings in org.jline:jline:jar:3.15.0 ). Maybe that is affecting it / making a difference? The code is https://github.com/rnc/bacon/blob/JLINE3/cli/src/main/java/org/jboss/pnc/bacon/cli/App.java#L156 pushed to branch JLINE3 and running via the produced shaded jar gives:
|
Yes, you are right! There is a bug in version 3.15.0 which has been fixed in 3.16.0, see commits
I'm afraid |
@mattirn Ah ha, I was cross-checking the released versions and that was going to be my next guess after you said it should work. I think the appropriate thing to do would be enter a ticket for picocli. Thanks for your help! I'll look to see if I can manage the dependency manually and update the code - I will read your referenced ticket tomorrow. |
I've just given it a go and added
as an extra dependency and it works. Thanks! |
I have followed https://github.com/jline/jline3/wiki/Autosuggestions (which has
) but I get
Widgets can only be called during a readLine call
.For code like
what is the correct way of enabling it by default (so the user doesn't have to press Alt-s to enable it)
The text was updated successfully, but these errors were encountered: