(figwheel-cleanup)
Need to recreate input chan so previous game loop doesnt receive input anymore.
Need to recreate input chan so previous game loop doesnt receive input anymore.
(get-input game-state)
(get-input state)
Wait for input to be written in the input channel
Wait for input to be written in the input channel
(get-suggested-token verb-tokens input-tokens)
Compare the verb tokens with the complete input tokens and if they match, return the next verb token to be suggested. If no match returns nil.
Compare the verb tokens with the complete input tokens and if they match, return the next verb token to be suggested. If no match returns nil.
(process-command command term)
Write command to the input channel
Write command to the input channel
(prompt-value prompt)
Ask the user to enter a value
Ask the user to enter a value
(read-value)
read a single key and eval its value. Return nil if no value entered.
read a single key and eval its value. Return nil if no value entered.
(tokenize-input input items dirs)
Get the finished tokens (partial tokens are ingnored, since that part of the completion is handled by jquery terminal). Encodes/decodes item and dir names to avoid breaking them in separate tokens.
Get the finished tokens (partial tokens are ingnored, since that part of the completion is handled by jquery terminal). Encodes/decodes item and dir names to avoid breaking them in separate tokens.
(verb-to-completer verb items-completer dirs-completer)
Take a verb regexp and an available items completer, and return an ArgumentCompleter that respects the regexp.
Take a verb regexp and an available items completer, and return an ArgumentCompleter that respects the regexp.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close