get_cjk_ambiguous_width


Description:

public int get_cjk_ambiguous_width ()

Returns whether ambiguous-width characters are narrow or wide.

(Note that when using a non-UTF-8 encoding set via set_encoding, the width of ambiguous-width characters is fixed and determined by the encoding itself.)

Parameters:

this

a Terminal

Returns:

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