enum TermBuf::History::Search

Overview

How #previous chooses what to visit.

Defined in:

termbuf/widgets/history.cr

Enum Members

Chronological = 0

Every entry, newest first.

Prefix = 1

Only entries beginning with what had been typed when the walk started, which is what a long history makes worth having.

Instance Method Summary

Instance Method Detail

def chronological? #

Returns true if this enum value equals Chronological


[View source]
def prefix? #

Returns true if this enum value equals Prefix


[View source]