[][src]Module fenestroj::wincon

Stuff for interacting with the console.

The consoleapi module adds more to what you find here. They're meant to be used together really.

Structs

CONSOLE_CURSOR_INFO
CONSOLE_FONT_INFOEX
CONSOLE_HISTORY_INFO
CONSOLE_READCONSOLE_CONTROL
CONSOLE_SCREEN_BUFFER_INFO
CONSOLE_SCREEN_BUFFER_INFOEX
CONSOLE_SELECTION_INFO
ConsoleScreenBuffer

A ConsoleScreenBuffer is similar to a "surface" or "backbuffer" for a console.

Constants

ATTACH_PARENT_PROCESS
DISABLE_NEWLINE_AUTO_RETURN
ENABLE_ECHO_INPUT
ENABLE_EXTENDED_FLAGS
ENABLE_INSERT_MODE
ENABLE_LINE_INPUT
ENABLE_LVB_GRID_WORLDWIDE
ENABLE_MOUSE_INPUT
ENABLE_PROCESSED_INPUT
ENABLE_PROCESSED_OUTPUT
ENABLE_QUICK_EDIT_MODE
ENABLE_VIRTUAL_TERMINAL_INPUT
ENABLE_VIRTUAL_TERMINAL_PROCESSING
ENABLE_WINDOW_INPUT
ENABLE_WRAP_AT_EOL_OUTPUT

Functions

add_console_alias

Defines a new console alias.

attach_console

Attaches your process to the console of the process you specify.

create_console_screen_buffer

See CreateConsoleScreenBuffer

fill_console_output_attribute

See FillConsoleOutputAttribute

fill_console_output_character

See FillConsoleOutputCharacter (uses the W version)

flush_console_input_buffer

See FlushConsoleInputBuffer

free_console

Detaches the calling process from its console.

generate_console_ctrl_event

See GenerateConsoleCtrlEvent

get_console_alias

See GetConsoleAlias

get_console_aliases

Gets all console aliases associated with the specified executable.

get_console_aliases_length

The number of bytes required to store all console aliases of the executable.

get_console_cursor_info

See GetConsoleCursorInfo

get_console_display_mode

Gets the display mode of the current console.

get_console_font_size

See GetConsoleFontSize

get_console_history_info

Obtains history info about this process's console.

get_console_original_title

Gets the original title of the console.

get_console_process_list

Gets the list of process ID values connected to the current console.

get_console_screenbuffer_info

See GetConsoleScreenBufferInfo

get_console_screenbuffer_info_ex

See GetConsoleScreenBufferInfoEx

get_console_selection_info

Gets information about the currently selected area of the console.

get_console_title

Get the current title of the console.

get_console_window

Obtains the HWND value of the console's window.

get_current_console_font

See GetCurrentConsoleFont

get_current_console_font_ex

See GetCurrentConsoleFontEx

get_largest_console_window_size

See GetLargestConsoleWindowSize

get_number_of_console_mouse_buttons

Gets the number of buttons on the mouse associated with the console.

peek_console_input

See PeekConsoleInput (uses the W version)

read_console_output

See ReadConsoleOutput (uses the W version)

read_console_output_attribute

See ReadConsoleOutputAttribute

read_console_output_character

See ReadConsoleOutputCharacter (uses the W version)

scroll_console_screen_buffer

See ScrollConsoleScreenBuffer (uses the W version)

set_console_active_screen_buffer

See SetConsoleActiveScreenBuffer

set_console_cp

Sets the console's input code page.

set_console_cursor_info

SetConsoleCursorInfo

set_console_cursor_position

See SetConsoleCursorPosition

set_console_display_mode

See SetConsoleDisplayMode

set_console_history_info

Sets the history settings for the console.

set_console_output_cp

Sets the console's output code page.

set_console_screen_buffer_info_ex

See SetConsoleScreenBufferInfoEx

set_console_screen_buffer_size

See SetConsoleScreenBufferSize

set_console_text_attribute

See SetConsoleTextAttribute

set_console_title

Assigns a new title to the console.

set_console_window_info

See SetConsoleWindowInfo

set_current_console_font_ex

See SetCurrentConsoleFontEx

write_console_input

See WriteConsoleInput (uses the W version)

write_console_output

See WriteConsoleOutput

write_console_output_attribute

See WriteConsoleOutputAttribute

write_console_output_character

See WriteConsoleOutputCharacter