pub const TerminalMode = union(enum) off: offansi_escape_codes: ansi_escape_codeswindows_api: if (is_windows) WindowsApi else noreturnThis is not the same as being run on windows because other terminals exist like MSYS/git-bash.
155
156
157
158
159
160
161
162
163
164
165
166pub const TerminalMode = union(enum) {
off,
ansi_escape_codes,
/// This is not the same as being run on windows because other terminals
/// exist like MSYS/git-bash.
windows_api: if (is_windows) WindowsApi else noreturn,
pub const WindowsApi = struct {
/// The output code page of the console.
code_page: windows.UINT,
};
}