ExTermbox.Protocol (ExTermbox v1.1.0)

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, mod, key, ch, w, h, x, y)

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)