提交 6d6e8b78 编写于 作者: B Ben S

Fix bug where unfilled displays were being checked

上级 26e3abc6
......@@ -25,7 +25,12 @@ impl GridDetails {
for column_count in 2.. {
let grid = self.make_grid(column_count, &*columns_for_dir, files, cells.clone());
if grid.fit_into_columns(column_count).width() <= self.grid.console_width {
let the_grid_fits = {
let d = grid.fit_into_columns(column_count);
d.is_complete() && d.width() <= self.grid.console_width
};
if the_grid_fits {
last_working_table = grid;
}
else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册