module Drawille
Defined in:
drawille-cr.crConstant Summary
-
BRAILLE_CHAR_OFFSET =
10240
-
MASK =
255
-
NEW_LINE =
'\n'
-
PIXEL_MAP =
[{1, 8}, {2, 16}, {4, 32}, {64, 128}]
-
SCREEN_CLEAR =
"\e[2J\e[1;1H"
-
SCREEN_START =
"\e[0;0H"
-
TERMINAL_COLUMNS =
(`tput cols`).to_i
-
TERMINAL_LINES =
(`tput lines`).to_i
-
VIEWPORT_HEIGHT =
TERMINAL_LINES * 4
-
VIEWPORT_WIDTH =
TERMINAL_COLUMNS * 2
-
WHITE =
{255_u8, 255_u8, 255_u8}