CryPrompt::AutoComplete
Inherits Reference / Object
Constructors
Instance methods
load a yaml or json hash to parse from you still need to call update_suggestions to parse it
load a yaml or json hash to parse from you still need to call update_suggestions to parse it
bash style single line tab suggest
will render a suggestion box just below the word the person is typing
NOT WORKING (probably due to scos/rc) draws the box with the suggestions in it. selected_index is the index in opts that will be selected to be highlighted max_size is the width of the box max_suggested is how many items will be suggested at the maximum
returns an array of words from the sugtrie that fall in line with the given line
returns an array of words from the sugtrie that fall in line with the given line
recursive function to generate the suggestion trie from a json or yaml structure