Skip to content

Commit

Permalink
fix: fixed missing new-line characters in follow mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pamburus committed Jan 9, 2024
1 parent 697e21e commit fb294cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ categories = ["command-line-utilities"]
description = "Utility for viewing json-formatted log files."
keywords = ["cli", "human", "log"]
name = "hl"
version = "0.23.2"
version = "0.23.3"
edition = "2021"
build = "build.rs"

Expand Down
1 change: 1 addition & 0 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ impl App {
mem_usage -= entry.1.1.end - entry.1.1.start;
output.write_all(sync_indicator.value.as_bytes())?;
output.write_all(&entry.1.0[entry.1.1.clone()])?;
output.write_all(&[b'\n'])?;
}
}

Expand Down

0 comments on commit fb294cd

Please sign in to comment.