-
Home
-
API
-
XenoAtom.Terminal
-
TerminalInstance
-
Methods
-
MeasureStyledWidth(String)
MeasureStyledWidth(String) Method
Definition
Measures the visible width of a string that contains ANSI escape sequences or XenoAtom markup.
public int MeasureStyledWidth(string textWithAnsiOrMarkup)
Parameters
- textWithAnsiOrMarkup
- String
The string to measure.
Returns
- Int32
- The visible cell width.