One panel by default is terminal is not wide enough

closes #182
This commit is contained in:
David Peter committed 2022-12-07 21:35:34 +01:00
1 parent 70fa092df1
commit 437a15f3d6
2 files changed
+6 -2

No files matched your search

+4 -1
View File
@@ -417,7 +417,10 @@ fn run() -> Result<()> {
{
max_panels_fn(terminal_width, base_digits, group_bytes.into())
} else {
2
std::cmp::min(
2,
max_panels_fn(terminal_width, base_digits, group_bytes.into()),
)
};
let stdout = io::stdout();