module Lolcat::Lol
Extended Modules
Direct including types
Defined in:
lolcat.crlolcat/lol.cr
Constant Summary
-
ANSI_ESCAPE =
/((?:\e(?:[ -\/]+.|[\]PX^_][^\a\e]*|\[[0-?]*.|.))*)(.?)/m
-
ESCAPE_SEQUENCES =
/\e\[[0-?]*[@JKPX]/
-
HIDE_CURSOR =
"\e[?25l"
-
INCOMPLETE_ESCAPE =
/\e(?:[ -\/]*|[\]PX^_][^\a\e]*|\[[0-?]*)$/
-
RESET_ATTRIBUTES =
"\e[m"
-
RESET_TERMINAL_MODES =
"\e[?1;5;2004l"
-
SHOW_CURSOR =
"\e[?25h"
Instance Method Summary
- #lol(input : String, options : Options, &)
- #lol(input : IO, options : Options, &)
- #lol_cat(input : IO | String, options : Options)
- #rainbow_color(freq : Float64, offset : Float64) : Tuple(UInt8, UInt8, UInt8)
- #rainbow_line(line : String, options : Options, index : Int32, pos : Int32) : String
- #rainbow_line(line : String, options : Options, offset : Float64) : String