setMode method
Sets mode to value on this terminal.
Implementation
void setMode(VtMode mode, bool value) {
_ensureOpen();
_checkResult(
bindings.ghostty_terminal_mode_set(_handle, mode.packed, value),
'ghostty_terminal_mode_set',
);
}