mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:31 +00:00
1 parent
70fa092df1
commit
437a15f3d6
2 files changed
+6
-2
No files matched your search
+4
-1
@@ -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();
|
||||
|
||||
@@ -565,7 +565,8 @@ mod base {
|
||||
.assert()
|
||||
.success()
|
||||
.pretty_stdout(
|
||||
" 00110000 00110001 00110010 00110011 00110100 00110101 00110110 00110111 00111000 00111001 01100001 01100010 01100011 01100100 01100101 00001010 \n"
|
||||
" 00110000 00110001 00110010 00110011 00110100 00110101 00110110 00110111 \n \
|
||||
00111000 00111001 01100001 01100010 01100011 01100100 01100101 00001010 \n",
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user