-
Home
-
API
-
XenoAtom.Terminal
-
TerminalTextUtility
-
Methods
-
GetWidth(ReadOnlySpan, Int32, Int32, Int32)
GetWidth(ReadOnlySpan, Int32, Int32, Int32) Method
Definition
Gets the terminal cell width of a slice of text (UTF-16).
public static int GetWidth(ReadOnlySpan<char> text, int start, int length, int tabWidth = 4)
Parameters
Returns