union TerminalMode [src]
Fields
off
ansi_escape_codes
windows_api: if (is_windows) WindowsApi else voidThis is not the same as being run on windows because other terminals
exist like MSYS/git-bash.
Members
- WindowsApi (struct)
Source
pub 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 void,
pub const WindowsApi = struct {
/// The output code page of the console.
code_page: windows.UINT,
};
}