mirror of
https://github.com/sharkdp/bat
synced 2026-07-22 16:53:19 +00:00
Add $LESSOPEN and $LESSCLOSE support (#2444)
This commit is contained in:
+1
-1
@@ -256,7 +256,7 @@ pub(crate) struct InputReader<'a> {
|
||||
}
|
||||
|
||||
impl<'a> InputReader<'a> {
|
||||
fn new<R: BufRead + 'a>(mut reader: R) -> InputReader<'a> {
|
||||
pub(crate) fn new<R: BufRead + 'a>(mut reader: R) -> InputReader<'a> {
|
||||
let mut first_line = vec![];
|
||||
reader.read_until(b'\n', &mut first_line).ok();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user