Raxol.Terminal.Input.Buffer (Raxol v0.5.0)

View Source

Manages input buffering for the terminal emulator.

Summary

Functions

Adds an event to the input buffer.

Clears the input buffer.

Gets the current buffer contents.

Creates a new input buffer with the given size.

Functions

add(buffer, event)

Adds an event to the input buffer.

clear(buffer)

Clears the input buffer.

get_contents(buffer)

Gets the current buffer contents.

new(max_size)

Creates a new input buffer with the given size.