class CryPrompt::CryPrompt

Defined in:

cryprompt.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def ask : String | Nil #

This will prompt the user for an input returns a string or nil if nothing is given


[View source]
def autocomplete : AutoComplete #

[View source]
def autocomplete=(autocomplete : AutoComplete) #

[View source]
def autoprompt : Bool #

property completion : ( JSON::Any | YAML::Any | Nil) = nil


[View source]
def autoprompt=(autoprompt : Bool) #

property completion : ( JSON::Any | YAML::Any | Nil) = nil


[View source]
def downarrowpress #

[View source]
def history : History #

[View source]
def history=(history : History) #

[View source]
def leftarrowpress #

[View source]
def logging : String | Nil #

[View source]
def logging=(logging : String | Nil) #

[View source]
def prompt : String #

[View source]
def prompt=(prompt : String) #

[View source]
def prompt_size : Int32 #

[View source]
def prompt_size=(prompt_size : Int32) #

[View source]
def rightarrowpress #

[View source]
def set_prompt(ap : Array(Colorize::Object | String)) #

[View source]
def tabcomplete(tabcount, suggs) #

[View source]
def tabcomplete #

[View source]
def uparrowpress #

[View source]