AnsiTextLite.toRange

Provides a range that returns, in this order: The start sequence (.toFullStartSequence); the output text (.text), and finally the end sequence (.toFullEndSequence).

This range is weakly-safe as it returns slices to stack memory so please ensure that any returned slices don't outlive the origin range object.

Please also note that non of the returned slices contain null terminators.

struct AnsiTextLite
@safe @nogc nothrow const
toRange
()

Return Value

Type: auto

An Input Range that returns all the slices required to correctly display this AnsiTextLite onto a console.

Meta