Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for wrapping with newlines #88

Merged
merged 3 commits into from
Jan 11, 2019
Merged

Add support for wrapping with newlines #88

merged 3 commits into from
Jan 11, 2019

Commits on Jan 11, 2019

  1. Add support for wrapping with newlines

    It can be useful to more accurately control formatting in table cells by
    means of inserting newlines. For example, we can now put bulleted lists
    or pretty-printed JSON objects in table cells.
    
    This change makes it so that any '\n' characters encountered in the
    cell's values will be translated into line breaks.
    
    Implementation note: the cell wrapping logic that used to be duplicated
    between `mapDataUsingRowHeightIndex` and `calculateCellHeight` has been
    moved to `wrapCell` to be shared between them.
    Rico Huijbers committed Jan 11, 2019
    Configuration menu
    Copy the full SHA
    9f887c2 View commit details
    Browse the repository at this point in the history
  2. Add test with color coding

    Rico Huijbers committed Jan 11, 2019
    Configuration menu
    Copy the full SHA
    b004ac1 View commit details
    Browse the repository at this point in the history
  3. More readable way to write ANSI test

    Rico Huijbers committed Jan 11, 2019
    Configuration menu
    Copy the full SHA
    6c283ca View commit details
    Browse the repository at this point in the history