GetWidth(ReadOnlySpan, Int32, Int32, Int32) Method

Definition

Assembly XenoAtom.Terminal.dll

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

start
Int32
length
Int32
tabWidth
Int32

Returns