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)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
enum SqueezeState {
|
pub enum SqueezeState {
|
||||||
/// not enabled
|
/// not enabled
|
||||||
Disabled,
|
Disabled,
|
||||||
/// Will be set from all states if equal condition can't be hold up.
|
/// Will be set from all states if equal condition can't be hold up.
|
||||||
@@ -20,7 +20,7 @@ enum SqueezeState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub struct Squeezer {
|
pub struct Squeezer {
|
||||||
state: SqueezeState,
|
pub state: SqueezeState,
|
||||||
byte: u8,
|
byte: u8,
|
||||||
lsize: u64,
|
lsize: u64,
|
||||||
}
|
}
|
||||||
@@ -40,7 +40,7 @@ impl Squeezer {
|
|||||||
} else {
|
} else {
|
||||||
SqueezeState::Disabled
|
SqueezeState::Disabled
|
||||||
},
|
},
|
||||||
byte: 0,
|
byte: 1,
|
||||||
lsize,
|
lsize,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user