Raxol.Test.EmulatorHelpers (Raxol v0.4.0)

View Source

Helper functions for Emulator tests.

Summary

Functions

Fills a region of the emulator buffer with identifiable line text.

Retrieves the text content of a specific line from the emulator's active buffer. Replaces nil chars with spaces.

Functions

fill_buffer(emulator, start_line, end_line)

Fills a region of the emulator buffer with identifiable line text.

get_line_text(emulator, line_index)

Retrieves the text content of a specific line from the emulator's active buffer. Replaces nil chars with spaces.