@nightgrey/ansi
    Preparing search index...

    Type Alias WrapOptions

    type WrapOptions = {
        hard?: boolean;
        trim?: boolean;
        wordWrap?: boolean;
    }
    Index

    Properties

    Properties

    hard?: boolean

    By default the wrap is soft, meaning long words may extend past the column width. Setting this to true will make it hard wrap at the column width.

    false

    trim?: boolean

    Whitespace on all lines is removed by default. Set this option to false if you don't want to trim.

    true

    wordWrap?: boolean

    By default, an attempt is made to split words at spaces, ensuring that they don't extend past the configured columns. If wordWrap is false, each column will instead be completely filled splitting words as necessary.

    true