viewportState
Returns the latest terminal-native scrollback viewport snapshot.
This method may be called from any thread. EDT callers refresh the snapshot from live component and render-cache state before reading it; off-EDT callers read the last EDT-published snapshot without blocking.
Return
current scrollback viewport state.