LineWrap enum Screen Manipulation
- Inheritance
- Implemented types
- Available extensions
Values
- enable → const LineWrap
-
Enables line wrapping.
When line wrapping is enabled, text that reaches the right edge of the screen will wrap to the next line. The cursor will move to the next line when it reaches the right edge of the screen.
This is the default behavior.
const LineWrap('h')
- disable → const LineWrap
-
Disables line wrapping.
When line wrapping is disabled, text that reaches the right edge of the screen will not wrap to the next line. The cursor will remain at the right edge of the screen.
This is useful for terminals that do not support line wrapping.
Note
Disabling line wrapping may cause text to be truncated if it reaches the right edge of the screen.
const LineWrap('l')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writeAnsiString(
StringSink out) → void -
Write as a UTF-16 ANSI escaped string to the given StringSink.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited