enum TermBuf::Field::Growth

Overview

What happens when the text outgrows one row.

Defined in:

termbuf/widgets/field.cr

Enum Members

Fixed = 0

One row, scrolling sideways, with a marker where text runs off.

Grow = 1

Wrap and grow to Field#max_rows, then scroll.

Instance Method Summary

Instance Method Detail

def fixed? #

Returns true if this enum value equals Fixed


[View source]
def grow? #

Returns true if this enum value equals Grow


[View source]