class
Opal::Terminal::WindowsDriver
- Opal::Terminal::WindowsDriver
- Opal::Terminal::Driver
- Reference
- Object
Overview
Windows native terminal driver using Win32 Console API & VT100 sequences.
Defined in:
opal/terminal/windows.crConstant Summary
-
ENABLE_EXTENDED_FLAGS =
128_u32 -
ENABLE_MOUSE_INPUT =
16_u32 -
ENABLE_QUICK_EDIT_MODE =
64_u32 -
ENABLE_WINDOW_INPUT =
8_u32
Constructors
Instance Method Summary
- #disable_mouse : Nil
- #enable_mouse : Nil
- #flush : Nil
-
#flush_input : Nil
Flushes any queued input events and purges platform input buffers
-
#poll_event(timeout_ms : Int32 = 0) : KeyEvent | MouseEvent | ResizeEvent | Nil
Non-blocking or timed check for input/resize events.
- #raw_mode(&)
- #size : Tuple(Int32, Int32)
- #write(str : String) : Nil
Instance methods inherited from class Opal::Terminal::Driver
check_resize : ResizeEvent | Nil
check_resize,
clear : Nil
clear,
disable_mouse : Nil
disable_mouse,
enable_mouse : Nil
enable_mouse,
enter_alternate_screen : Nil
enter_alternate_screen,
exit_alternate_screen : Nil
exit_alternate_screen,
flush : Nil
flush,
flush_input : Nil
flush_input,
hide_cursor : Nil
hide_cursor,
input : IO
input,
input=(input : IO)
input=,
move_to(row : Int32, col : Int32) : Nil
move_to,
on_resize : Proc(Int32, Int32, Nil) | Nil
on_resize,
on_resize=(on_resize : Proc(Int32, Int32, Nil) | Nil)
on_resize=,
output : IO
output,
output=(output : IO)
output=,
poll_event(timeout_ms : Int32 = 0) : KeyEvent | MouseEvent | ResizeEvent | Nil
poll_event,
raw_mode(&)
raw_mode,
read_event : KeyEvent | MouseEvent | ResizeEvent | Nil
read_event,
show_cursor : Nil
show_cursor,
size : Tuple(Int32, Int32)
size,
write(str : String) : Nil
write
Constructor methods inherited from class Opal::Terminal::Driver
new(output : IO = STDOUT, input : IO = STDIN)
new
Constructor Detail
Instance Method Detail
def flush_input : Nil
#
Description copied from class Opal::Terminal::Driver
Flushes any queued input events and purges platform input buffers
Description copied from class Opal::Terminal::Driver
Non-blocking or timed check for input/resize events.