enum TermBuf::Editor::Outcome

Overview

What handling a key came to.

Defined in:

termbuf/widgets/editor.cr

Enum Members

Continue = 0

Nothing that concerns the caller.

Accepted = 1

The line was accepted; #accepted has it.

Cancelled = 2

The line was abandoned.

Ended = 3

There is no more input coming.

Instance Method Summary

Instance Method Detail

def accepted? #

Returns true if this enum value equals Accepted


[View source]
def cancelled? #

Returns true if this enum value equals Cancelled


[View source]
def continue? #

Returns true if this enum value equals Continue


[View source]
def ended? #

Returns true if this enum value equals Ended


[View source]