Table of Contents

Method GetColumns

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetColumns(string)

Gets the number of columns the string occupies in the terminal.

public static int GetColumns(this string str)

Parameters

str string

The string to measure.

Returns

int

Remarks

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