I think I solved the tab-complete on a full line part #865
rubyFeedback
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is the code:
I adapted it from:
https://stackoverflow.com/questions/13876024/how-to-write-a-ruby-command-line-app-that-supports-tab-completion
Just in the case someone else needs it and may not find it on stackoverflow.
I am not 100% done but I think I have the basic part now, so I can add e. g. dynamic listing of files and
directories in the current working directory, and a basic list of commands I can support with that.
Beta Was this translation helpful? Give feedback.
All reactions