module Tput::Output::Misc
Included Modules
- Crystallabs::Helpers::Alias_Methods
- Tput::Macros
Direct including types
Defined in:
tput/output/misc.crInstance Method Summary
-
#escape
Inserts escape (ESC), indicating start of a new sequence.
-
#load_leds(param = 0)
CSI Ps q Load LEDs (DECLL).
- #mc0
- #mc4
- #mc5
- #mc5p
-
#media_copy(*arguments)
CSI Pm i Media Copy (MC).
-
#null
Inserts a pad -- NUL currently prints \x80 instead of being an ignored sequence.
-
#repeat(str, i = 1)
Repeats string
str
i
times.
Instance Method Detail
Inserts escape (ESC), indicating start of a new sequence.
It cancels the stream of any other sequences.
Aliases: esc
CSI Ps q Load LEDs (DECLL). Ps = 0 -> Clear all LEDS (default). Ps = 1 -> Light Num Lock. Ps = 2 -> Light Caps Lock. Ps = 3 -> Light Scroll Lock. Ps = 2 1 -> Extinguish Num Lock. Ps = 2 2 -> Extinguish Caps Lock. Ps = 2 3 -> Extinguish Scroll Lock.
CSI Pm i Media Copy (MC). Ps = 0 -> Print screen (default). Ps = 4 -> Turn off printer controller mode. Ps = 5 -> Turn on printer controller mode. CSI ? Pm i Media Copy (MC, DEC-specific). Ps = 1 -> Print line containing cursor. Ps = 4 -> Turn off autoprint mode. Ps = 5 -> Turn on autoprint mode. Ps = 1 0 -> Print composed display, ignores DECPEX. Ps = 1 1 -> Print all pages.
Inserts a pad -- NUL currently prints \x80 instead of being an ignored sequence.
Aliases: nul, pad