enum RemiLib::Console::EraseDisplay

Overview

Changes how #eraseScreen behaves.

Defined in:

remilib/console/ansi.cr

Enum Members

CursorToEnd = 0

Erases the screen from the cursor to the bottom of the screen.

CursorToStart = 1

Erases the screen from the cursor to the top of the screen.

WholeScreen = 2

Erases the entire visible screen.

ScreenAndScrollback = 3

Erases the entire visible screen, plus any visible lines in the scrollback.

Instance Method Summary

Instance Method Detail

def cursor_to_end? #

[View source]
def cursor_to_start? #

[View source]
def screen_and_scrollback? #

[View source]
def whole_screen? #

[View source]