Automatically delete old messages

This commit is contained in:
2024-12-15 00:13:27 +01:00
parent 6d371970f1
commit ed8ec8ca37
7 changed files with 147 additions and 31 deletions

View File

@ -68,7 +68,7 @@ fn log_lines(opt: &Opt, r: impl BufRead) -> eyre::Result<()> {
let line = line.wrap_err("Failed to read from stdin")?;
let line = line.trim();
if !line.is_empty() {
log_message(&opt, &line)?;
log_message(opt, line)?;
}
}