eza: Grid view is broken

Running --grid with the latest git version of zetta is broken on my machine.

E.g. by doing cargo run --release -- --grid, or using an installed version (see screenshot below).

2023-07-28_13-43

This is a fairly severe regression as the the default expected behavior of exa/zetta is to run --grid if nothing else is specified.

https://github.com/ogham/exa/pull/1165#issuecomment-1650420594

https://github.com/syphar/zetta/issues/4

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 1
  • Comments: 16 (9 by maintainers)

Most upvoted comments

After a bisect, I’ve arrive here:

af208285e8a0fb383f59372c966bdb77f94006e9 is the first bad commit
commit af208285e8a0fb383f59372c966bdb77f94006e9
Author: Bastien Orivel <eijebong@bananium.fr>
Date:   Fri Dec 10 13:21:13 2021 +0100

    Update term_grid to 0.2

 Cargo.lock                 | 4 ++--
 Cargo.toml                 | 2 +-
 src/output/grid.rs         | 1 +
 src/output/grid_details.rs | 2 ++
 4 files changed, 6 insertions(+), 3 deletions(-)

af208285e8a0fb383f59372c966bdb77f94006e9

Gonna see if I can solve it.

Regarding https://github.com/uutils/uutils-term-grid/issues/6, do you think the behavior should change in uutils-term-grid? I don’t really care myself but I figured it could matter to some people here.