Raxol.Terminal.ScreenBuffer.BehaviourImpl (Raxol v2.0.1)

View Source

Implements behaviour callbacks for the terminal screen buffer.

This module contains all the simple behaviour callback implementations that were previously cluttering the main ScreenBuffer module.

Summary

Functions

cleanup_file_watching(buffer)

clear_output_buffer(buffer)

clear_saved_states(buffer)

clear_screen(buffer)

collect_metrics(buffer, type)

create_chart(buffer, type, options)

current_theme()

enqueue_control_sequence(buffer, sequence)

erase_all_with_scrollback(buffer)

erase_from_cursor_to_end_of_line(buffer)

erase_from_start_of_line_to_cursor(buffer)

erase_from_start_to_cursor(buffer)

erase_line(buffer)

flush_output(buffer)

get_config()

get_current_state(buffer)

get_metric(buffer, type, name)

get_metric_value(buffer, name)

get_metrics_by_type(buffer, type)

get_output_buffer(buffer)

get_preferences()

get_saved_states_count(buffer)

get_size(buffer)

get_state_stack(buffer)

get_update_settings()

handle_csi_sequence(buffer, command, params)

handle_debounced_events(buffer, events, delay)

handle_file_event(buffer, event)

handle_mode(buffer, mode, value)

has_saved_states?(buffer)

light_theme()

mark_damaged(buffer, x, y, width, height)

record_metric(buffer, type, name, value)

record_operation(buffer, operation, duration)

record_performance(buffer, metric, value)

record_resource(buffer, type, value)

reset_state(buffer)

restore_state(buffer)

save_state(buffer)

set_config(config)

set_preferences(preferences)

update_current_state(buffer, updates)

update_state_stack(buffer, stack)

verify_metrics(buffer, type)

write(buffer, data)