Skip to content

Commit

Permalink
fix context positioning
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Matous <m@matous.dev>
  • Loading branch information
mmatous authored and meain committed Mar 31, 2022
1 parent 90199a2 commit d1051d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn inner_display_grid(
}),
_ => Grid::new(GridOptions {
filling: Filling::Spaces(2),
direction: Direction::LeftToRight,
direction: Direction::TopToBottom,
}),
};

Expand Down
1 change: 1 addition & 0 deletions src/flags/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ impl Configurable<Layout> for Layout {
} else if matches.is_present("long")
|| matches.is_present("oneline")
|| matches.is_present("inode")
|| matches.is_present("context")
|| matches!(matches.values_of("blocks"), Some(values) if values.len() > 1)
// TODO: handle this differently
{
Expand Down

0 comments on commit d1051d2

Please sign in to comment.