abstract class Keimeno::Base

Direct Known Subclasses

Defined in:

keimeno/base.cr

Constant Summary

BUFFER_SIZE = 12
CLEAR_DOWN = "\e[J"
CLEAR_LINE = "\e[K"
CLEAR_SCREEN = "\e[2J"
HIDE_CURSOR = "\e[?25l"
LOCATE_CURSOR = "\e[6n"
MOVE_CURSOR = "\e["
RESTORE_CURSOR = "\e8"
SAVE_CURSOR = "\e7"
SHOW_CURSOR = "\e[?25h"

Instance Method Summary

Instance Method Detail

def before_display #

[View source]
def bump_cursor(row = 0, col = 0) #

[View source]
def character_key(keystroke) #

[View source]
def cleanup #

[View source]
def clear #

[View source]
def clear_line #

[View source]
def clear_screen #

[View source]
def decode_control_character : Keystroke #

[View source]
def decode_function_character : Keystroke #

[View source]
def display #

[View source]
def display_loop #

[View source]
def finish! #

[View source]
def finished? #

[View source]
def full_screen : Bool #

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

[View source]
def full_screen? #

[View source]
def function_key(keystroke) #

[View source]
def hide_cursor #

[View source]
def input_display_loop #

[View source]
def key_alt_0 #

[View source]
def key_alt_1 #

[View source]
def key_alt_2 #

[View source]
def key_alt_3 #

[View source]
def key_alt_4 #

[View source]
def key_alt_5 #

[View source]
def key_alt_6 #

[View source]
def key_alt_7 #

[View source]
def key_alt_8 #

[View source]
def key_alt_9 #

[View source]
def key_alt_a #

[View source]
def key_alt_b #

[View source]
def key_alt_c #

[View source]
def key_alt_comma #

[View source]
def key_alt_d #

[View source]
def key_alt_double_quote #

[View source]
def key_alt_e #

[View source]
def key_alt_enter #

[View source]
def key_alt_f #

[View source]
def key_alt_g #

[View source]
def key_alt_greater_than #

[View source]
def key_alt_h #

[View source]
def key_alt_i #

[View source]
def key_alt_j #

[View source]
def key_alt_k #

[View source]
def key_alt_l #

[View source]
def key_alt_left_curly_bracket #

[View source]
def key_alt_left_square_bracket #

[View source]
def key_alt_less_than #

[View source]
def key_alt_m #

[View source]
def key_alt_n #

[View source]
def key_alt_o #

[View source]
def key_alt_p #

[View source]
def key_alt_period #

[View source]
def key_alt_q #

[View source]
def key_alt_quote #

[View source]
def key_alt_r #

[View source]
def key_alt_right_curly_bracket #

[View source]
def key_alt_right_square_bracket #

[View source]
def key_alt_s #

[View source]
def key_alt_space #

[View source]
def key_alt_t #

[View source]
def key_alt_tab #

[View source]
def key_alt_tilde #

[View source]
def key_alt_u #

[View source]
def key_alt_v #

[View source]
def key_alt_w #

[View source]
def key_alt_x #

[View source]
def key_alt_y #

[View source]
def key_alt_z #

[View source]
def key_backspace #

[View source]
def key_ctrl_a #

[View source]
def key_ctrl_b #

[View source]
def key_ctrl_c #

[View source]
def key_ctrl_d #

[View source]
def key_ctrl_e #

[View source]
def key_ctrl_f #

[View source]
def key_ctrl_g #

[View source]
def key_ctrl_h #

[View source]
def key_ctrl_i #

[View source]
def key_ctrl_j #

[View source]
def key_ctrl_k #

[View source]
def key_ctrl_l #

[View source]
def key_ctrl_n #

[View source]
def key_ctrl_o #

[View source]
def key_ctrl_p #

[View source]
def key_ctrl_q #

[View source]
def key_ctrl_r #

[View source]
def key_ctrl_s #

[View source]
def key_ctrl_t #

[View source]
def key_ctrl_u #

[View source]
def key_ctrl_v #

[View source]
def key_ctrl_w #

[View source]
def key_ctrl_x #

[View source]
def key_ctrl_y #

[View source]
def key_ctrl_z #

[View source]
def key_delete #

[View source]
def key_down_arrow #

[View source]
def key_enter #

[View source]
def key_escape #

[View source]
def key_left_arrow #

[View source]
def key_pressed(keystroke : Keystroke) #

[View source]
def key_right_arrow #

[View source]
def key_up_arrow #

[View source]
def maintain_saved_cursor(&) #

[View source]
def process_input_char : Keystroke #

[View source]
def read_buffer : Slice(UInt8) #

[View source]
def read_string : String #

[View source]
def repaint #

[View source]
def request_cursor_position #

[View source]
def return_value #

[View source]
def run #

[View source]
def set_cursor_position(row = 1, col = 1) #

[View source]
def show_cursor #

[View source]
def show_input #

[View source]
def wait_for_input #

[View source]