-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support for hinting #16
Comments
Thanks for the report! For this one, I'll just need to grab what's upstream and wrap it - #17 has a similar story. I should be able to get around to this within the next few days. |
Hi @aleclarson - I took a stab at this and #17 tonight. Could you pull down the new code and let me know what you think? |
Hey @hoelzro - I'll let you know when I get some time to try it out. Thanks! |
@aleclarson Have you had a chance to look at this? |
When the
|
Oh no! Does this happen with a standalone Lua interpreter? Maybe it's some version mismatch with the version Tarantool's embedding and the version the shared library was compiled against, or (hopefully not) there's something sinister going on when integrating with Tarantool. What version of Lua is Tarantool using, and what version was the shared library compiled against? |
@aleclarson Do you mind if we migrate the later issue with the segfault to its own issue? |
👍 Sorry for not following up. I forgot about that issue, and gave up on hinting since it wasn't required for my use case. |
@hoelzro Hey, so do hints work or not? =) Judging by the docs they should, but I did not get any hints using the example code... |
@epicfilemcnulty They should be working - which example code are you trying that they're not working on? |
@hoelzro I'm using the example code from the README in the repo, and hinting does not work =( |
Ok, thanks for clarifying - so when you say it doesn't work, does the program crash, does nothing special happen, etc? The way I test it is to run it and type Also, which terminal are you using, and how are you installing the library? |
See here: https://github.com/antirez/linenoise#hints
The text was updated successfully, but these errors were encountered: