Table of Contents

Method AddRune

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

AddRune(Rune)

Adds the specified rune to the display at the current cursor position.

void AddRune(Rune rune)

Parameters

rune Rune

Rune to add.

Remarks

When the method returns, Col will be incremented by the number of columns rune required, even if the new column value is outside of the Clip or screen dimensions defined by Cols.

If rune requires more than one column, and Col plus the number of columns needed exceeds the Clip or screen dimensions, the default Unicode replacement character (U+FFFD) will be added instead.

AddRune(char)

Adds the specified char to the display at the current cursor position. This method is a convenience method that calls AddRune(Rune) with the Rune constructor.

void AddRune(char c)

Parameters

c char

Character to add.