enum

TermBuf::Ops::EraseMode

Inherits Enum < Comparable < Value < Object

How far an erase reaches from the cursor.

Constants

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 methods

all?

Returns true if this enum value equals All

Source
to_end?

Returns true if this enum value equals ToEnd

Source
to_start?

Returns true if this enum value equals ToStart

Source