module Terminimal::ANSI

Overview

ANSI control sequences.

Defined in:

terminimal/ansi.cr

Constant Summary

CLEAR_LINE = "\e[%dK"
CLEAR_SCREEN = "\e[%dJ"
CURSOR_BACK = "\e[D"
CURSOR_DOWN = "\e[B"
CURSOR_FORWARD = "\e[C"
CURSOR_HIDE = "\e[?25l"
CURSOR_HORIZONTAL_ABS = "\e[%dG"
CURSOR_MOVE = "\e[%d;%dH"
CURSOR_NEXT_LINE = "\e[E"
CURSOR_POS_RESTORE = "\e[u"
CURSOR_POS_SAVE = "\e[s"
CURSOR_PREV_LINE = "\e[F"
CURSOR_SHOW = "\e[?25h"
CURSOR_UP = "\e[A"