[][src]Module fenestroj::consoleapi

Functions to interact with a process's console.

The stuff here extends and compliments the wincon module, which you should also check out.

Functions

alloc_console

Allocates a new console for the process and attaches to it.

close_pseudo_console

See ClosePseudoConsole

create_pseudo_console

See CreatePseudoConsole

get_console_cp

Gets the input code page of the console.

get_console_mode

Obtains info about a console's mode

get_console_output_cp

Determines the output code page of the console.

get_number_of_console_input_events

See GetNumberOfConsoleInputEvents

read_console

See ReadConsole (uses W version)

read_console_input

See ReadConsoleInput (uses the W version)

resize_pseudo_console

See ResizePseudoConsole

set_console_ctrl_handler

See SetConsoleCtrlHandler

set_console_mode

Sets a console mode configuration.

write_console

Write a UTF-16 slice to the console.