diff --git a/src/action_log.rs b/src/action_log.rs index 945db4e..7824fa4 100644 --- a/src/action_log.rs +++ b/src/action_log.rs @@ -98,6 +98,10 @@ pub(crate) fn cl_log(ctx: AppContext) -> anyhow::Result<()> { text = prefill_text; } + if !text.ends_with('\n') { + text.push('\n'); + } + store.create_entry(entry_name, text)?; println!("{}", "Done.".green());