enum TermBuf::Ops::EraseMode

Overview

How far an erase reaches from the cursor.

Defined in:

termbuf/core/op.cr

Enum Members

ToEnd = 0

From the cursor to the end of the line.

ToStart = 1

From the start of the line to the cursor.

All = 2

The whole line.

Instance Method Summary

Instance Method Detail

def all? #

Returns true if this enum value equals All


[View source]
def to_end? #

Returns true if this enum value equals ToEnd


[View source]
def to_start? #

Returns true if this enum value equals ToStart


[View source]