Terminal.getCjkAmbiguousWidth

Returns whether ambiguous-width characters are narrow or wide. (Note that when using a non-UTF-8 encoding set via Terminal.setEncoding, the width of ambiguous-width characters is fixed and determined by the encoding itself.)

class Terminal
int
getCjkAmbiguousWidth
()

Return Value

Type: int

1 if ambiguous-width characters are narrow, or 2 if they are wide