Table of Contents

Method MakePrintable

Namespace
Terminal.Gui.Text
Assembly
Terminal.Gui.dll

MakePrintable(Rune)

Ensures the rune is not a control character and can be displayed by translating C0 controls (U+0000–U+001F), DEL (U+007F), and C1 controls (U+0080–U+009F) to printable Unicode equivalents via the +U+2400 offset.

public static Rune MakePrintable(this Rune rune)

Parameters

rune Rune

The rune to make printable.

Returns

Rune

A printable rune safe for terminal display.

Remarks

This is a Terminal.Gui extension method to Rune to support TUI text manipulation.