Module: Windows::Console

Defined in:
lib/windows/console.rb

Constant Summary

CTRL_C_EVENT =
0
CTRL_BREAK_EVENT =
1
CTRL_CLOSE_EVENT =
2
CTRL_LOGOFF_EVENT =
5
CTRL_SHUTDOWN_EVENT =
6
ENABLE_PROCESSED_INPUT =
0x0001
ENABLE_LINE_INPUT =
0x0002
ENABLE_WRAP_AT_EOL_OUTPUT =
0x0002
ENABLE_ECHO_INPUT =
0x0004
ENABLE_WINDOW_INPUT =
0x0008
ENABLE_MOUSE_INPUT =
0x0010
ENABLE_INSERT_MODE =
0x0020
ENABLE_QUICK_EDIT_MODE =
0x0040
STD_INPUT_HANDLE =
10
STD_OUTPUT_HANDLE =
11
STD_ERROR_HANDLE =
12
FOREGROUND_BLUE =

Console window constants

0x0001
FOREGROUND_GREEN =
0x0002
FOREGROUND_RED =
0x0004
FOREGROUND_INTENSITY =
0x0008
BACKGROUND_BLUE =
0x0010
BACKGROUND_GREEN =
0x0020
BACKGROUND_RED =
0x0040
BACKGROUND_INTENSITY =
0x0080
COMMON_LVB_LEADING_BYTE =
0x0100
COMMON_LVB_TRAILING_BYTE =
0x0200
COMMON_LVB_GRID_HORIZONTAL =
0x0400
COMMON_LVB_GRID_LVERTICAL =
0x0800
COMMON_LVB_GRID_RVERTICAL =
0x1000
COMMON_LVB_REVERSE_VIDEO =
0x4000
COMMON_LVB_UNDERSCORE =
0x8000
COMMON_LVB_SBCSDBCS =
0x0300
CONSOLE_FULLSCREEN =
1
CONSOLE_OVERSTRIKE =
1
CONSOLE_FULLSCREEN_HARDWARE =
2