enum RemiLib::Console::EraseLine

Overview

Changes how #eraseLine behaves.

Defined in:

remilib/console/ansi.cr

Enum Members

CursorToEnd = 0

Erase text from the cursor to the end of the line.

CursorToStart = 1

Erase text from the cursor to the start of the line.

WholeLine = 2

Erase the entire line.

Instance Method Summary

Constructor methods inherited from struct Enum

new(val : RemiLib::RSConf::RSValue) new

Class methods inherited from class Object

fromRsconf(toplevel : RemiLib::RSConf::RSValue)
fromRsconf(data : String | IO | Path)
fromRsconf

Instance Method Detail

def cursor_to_end? #

[View source]
def cursor_to_start? #

[View source]
def whole_line? #

[View source]