tui-rs v0.7.0 Release Notes

Release Date: 2019-11-29 // 11 months ago
  • ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ‘‰ Use Constraint instead of integers to specify the widths of the Table ๐Ÿ“ฑ widget's columns. This will allow more responsive tables.
    Table::new(header, row)
      .widths(&[15, 15, 10])
      .render(f, chunk);
    

    becomes:

    Table::new(header, row)
      .widths(&[
        Constraint::Length(15),
        Constraint::Length(15),
        Constraint::Length(10),
      ])
      .render(f, chunk);
    
    • โฌ†๏ธ Bump crossterm to 0.13.
    • ๐Ÿ‘ท Use Github Actions for CI (Travis and Azure Pipelines integrations have been deleted).

    ๐Ÿ”‹ Features

    • โž• Add support for horizontal and vertical margins in Layout.