getCodepoint
Returns the base (first) codepoint for the cell at col.
For plain cells this is the full Unicode scalar value.
For cluster cells this is the leading codepoint of the grapheme sequence. Simple renderers that map one cell to one glyph can use this value directly.
Returns io.github.ketraterm.core.model.TerminalConstants.EMPTY (0) for blank cells.
Returns io.github.ketraterm.core.model.TerminalConstants.WIDE_CHAR_SPACER (-1) for the right half of a 2-cell wide character; renderers should skip such cells.
Return
The base Unicode codepoint at the specified column, or a spacer/empty sentinel.
Parameters
col
Column index (0-based).