module
Tput::Input
Included Modules
- Crystallabs::Helpers::Logging
Direct including types
Defined in:
tput/input.crConstant Summary
-
Log =
::Log.for((self.name.gsub("::", '.')).underscore)
Instance Method Summary
-
#disable_bracketed_paste : Nil
Disables bracketed paste (DEC private mode 2004).
-
#disable_in_band_resize : Nil
Disables in-band resize notifications (DEC private mode 2048).
-
#enable_bracketed_paste : Nil
Enables bracketed paste (DEC private mode 2004).
-
#enable_in_band_resize : Nil
Enables in-band resize notifications (DEC private mode 2048).
- #listen(& : InputEvent -> Nil)
- #next_char(timeout : Bool = false, &)
-
#with_raw_input(&)
Enables raw (unbuffered, non-cooked) input for the duration of the block.
-
#with_sync_output(&)
Enables synced (unbuffered) output for the duration of the block.
Instance Method Detail
def enable_bracketed_paste : Nil
#
Enables bracketed paste (DEC private mode 2004). Pasted text then arrives
as the paste argument of #listen instead of individual key presses.
Harmless on unsupporting terminals.
def enable_in_band_resize : Nil
#
Enables in-band resize notifications (DEC private mode 2048). Resize
reports then arrive as the resize argument of #listen (in addition to
any SIGWINCH). Harmless on unsupporting terminals.