Skip to content

Commit 8e81482

Browse files
committed
fix: append newline to saved content
1 parent 4bd4c97 commit 8e81482

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/save_to_file_widget.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ impl SaveToFileWidget {
4242
.mode(mode)
4343
.open(path)?;
4444

45-
write!(file, "{}", content)?;
45+
write!(file, "{}\n", content)?;
4646

4747
self.error_message = None;
4848

0 commit comments

Comments
 (0)