class Rf::Menu

Defined in:

ui.cr

Constant Summary

CRLF = "\n\r"

Constructors

Instance Method Summary

Constructor Detail

def self.new(dirs : Array(Dir), max_entries_shown : Int32) #

[View source]

Instance Method Detail

def character_key(keystroke) : Nil #

[View source]
def cleanup #

[View source]
def clear_line #

[View source]
def colorize_match(str : String, selected : Bool) #

[View source]
def colorize_selected(str : String, selected : Bool) #

[View source]
def cursor_down #

[View source]
def cursor_up #

[View source]
def display #

[View source]
def filter #

[View source]
def highlight_colorized(str : String, highlights : Array(Int32), selected : Bool) #

[View source]
def key_backspace : Nil #

[View source]
def key_ctrl_w #

[View source]
def key_down_arrow #

[View source]
def key_enter #

[View source]
def key_escape #

[View source]
def key_up_arrow #

[View source]
def print(thing) #

[View source]
def puts(thing) : Nil #

[View source]
def return_value #

[View source]
def run #

[View source]
def show_input #

[View source]
def wait_for_input #

[View source]