diff options
author | Ben S <ogham@bsago.me> | 2015-07-15 20:53:16 +0100 |
---|---|---|
committer | Ben S <ogham@bsago.me> | 2015-07-15 21:16:08 +0100 |
commit | d710151ea9056fcb75c9f374838b7773b12d5c27 (patch) | |
tree | 3d583a14fed90b97f115b3101ded27f02557e406 /src/output | |
parent | 75f43770fd3bbd50e638e66041b979f58e4b3378 (diff) |
Updates for term-grid
The separator_width field in the term_grid crate was replaced with a filling field.
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/grid.rs | 4 | ||||
-rw-r--r-- | src/output/grid_details.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/output/grid.rs b/src/output/grid.rs index 62c44be..0fd0af4 100644 --- a/src/output/grid.rs +++ b/src/output/grid.rs @@ -18,8 +18,8 @@ impl Grid { else { grid::Direction::TopToBottom }; let mut grid = grid::Grid::new(grid::GridOptions { - direction: direction, - separator_width: 2, + direction: direction, + filling: grid::Filling::Spaces(2), }); grid.reserve(files.len()); diff --git a/src/output/grid_details.rs b/src/output/grid_details.rs index 92b373c..7886460 100644 --- a/src/output/grid_details.rs +++ b/src/output/grid_details.rs @@ -75,8 +75,8 @@ impl GridDetails { else { grid::Direction::TopToBottom }; let mut grid = grid::Grid::new(grid::GridOptions { - direction: direction, - separator_width: 4, + direction: direction, + filling: grid::Filling::Spaces(4), }); if self.grid.across { |