Raxol.Terminal.ANSI.Window.Manipulation (Raxol v2.0.1)

View Source

Handles window manipulation sequences for terminal control.

Summary

Functions

Clears the entire screen.

Disables window manipulation mode.

Enables window manipulation mode.

Formats a focus gain event into an ANSI sequence.

Formats a focus loss event into an ANSI sequence.

Formats a window manipulation event into an ANSI sequence.

Formats a key press event into an ANSI sequence.

Formats a key release event into an ANSI sequence.

Formats a mouse click event into an ANSI sequence.

Formats a mouse drag event into an ANSI sequence.

Formats a mouse release event into an ANSI sequence.

Moves the cursor to the specified position.

Creates a new window manipulation state with default values.

Processes a window manipulation sequence and returns the corresponding event.

Sets the window icon name.

Sets the window mode.

Sets the window position.

Sets the window title.

Functions

clear_screen()

Clears the entire screen.

disable_window_manipulation()

Disables window manipulation mode.

enable_window_manipulation()

Enables window manipulation mode.

focus_gain()

Formats a focus gain event into an ANSI sequence.

focus_loss()

Formats a focus loss event into an ANSI sequence.

format_border_color(arg)

format_border_radius(radius)

format_border_style(style)

format_border_width(width)

format_focus(bool)

format_icon(icon)

format_move(arg)

format_resize(arg1)

Formats a window manipulation event into an ANSI sequence.

format_shadow(bool)

format_shadow_blur(blur)

format_shadow_color(arg)

format_shadow_offset(arg)

format_stack(position)

format_state(state)

format_title(title)

format_transparency(alpha)

handle_border_color(list)

handle_border_radius(list)

handle_border_style(list)

handle_border_width(list)

handle_focus(list)

handle_icon(list)

handle_move(list)

handle_resize(list)

handle_shadow(list)

handle_shadow_blur(list)

handle_shadow_color(list)

handle_shadow_offset(list)

handle_stack(list)

handle_state(list)

handle_title(list)

handle_transparency(list)

key_press(key)

Formats a key press event into an ANSI sequence.

key_release(key)

Formats a key release event into an ANSI sequence.

mouse_click(button, x, y)

Formats a mouse click event into an ANSI sequence.

mouse_drag(button, x, y)

Formats a mouse drag event into an ANSI sequence.

mouse_release(button, x, y)

Formats a mouse release event into an ANSI sequence.

move_cursor(x, y)

Moves the cursor to the specified position.

new()

Creates a new window manipulation state with default values.

process_sequence(sequence, params)

Processes a window manipulation sequence and returns the corresponding event.

set_icon_name(name)

Sets the window icon name.

set_mode(mode)

Sets the window mode.

set_position(x, y)

Sets the window position.

set_title(title)

Sets the window title.