class Obsctl::TUI::CommandPaletteState

Defined in:

obsctl/tui/model.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(active : Bool = false, input : String = "", completions : Array(String) = [] of String, completion_index : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def active : Bool #

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

[View source]
def completion_index : Int32 | Nil #

[View source]
def completion_index=(completion_index : Int32 | Nil) #

[View source]
def completions : Array(String) #

[View source]
def completions=(completions : Array(String)) #

[View source]
def cycle_next #

[View source]
def cycle_previous #

[View source]
def input : String #

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

[View source]