ExTermbox.Protocol (ExTermbox v1.1.2)

View Source

Defines the protocol for communication between Elixir and the C Termbox helper. Includes parsing/formatting functions.

Summary

Functions

format_change_cell_command(x, y, codepoint, fg, bg)

format_clear_command()

@spec format_clear_command() :: String.t()

format_debug_send_event_command(type_a, mod_i, key_i, ch_i, w_i, h_i, x_i, y_i)

format_get_cell_command(x, y)

format_height_command()

@spec format_height_command() :: String.t()

format_present_command()

@spec format_present_command() :: String.t()

format_print_command(x, y, fg, bg, text)

format_set_clear_attributes_command(fg, bg)

format_set_cursor_command(x, y)

format_set_input_mode_command(mode)

format_set_output_mode_command(mode)

format_width_command()

@spec format_width_command() :: String.t()

parse_event(data)

parse_socket_line(line)