mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:34 +00:00
Print first line always
This commit is contained in:
1 parent
363ea0a586
commit
74a5e4bc84
1 file changed
+3
-3
+3
-3
@@ -1,5 +1,5 @@
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
enum SqueezeState {
|
||||
pub enum SqueezeState {
|
||||
/// not enabled
|
||||
Disabled,
|
||||
/// Will be set from all states if equal condition can't be hold up.
|
||||
@@ -20,7 +20,7 @@ enum SqueezeState {
|
||||
}
|
||||
|
||||
pub struct Squeezer {
|
||||
state: SqueezeState,
|
||||
pub state: SqueezeState,
|
||||
byte: u8,
|
||||
lsize: u64,
|
||||
}
|
||||
@@ -40,7 +40,7 @@ impl Squeezer {
|
||||
} else {
|
||||
SqueezeState::Disabled
|
||||
},
|
||||
byte: 0,
|
||||
byte: 1,
|
||||
lsize,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user