summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-10 14:14:03 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-10 14:14:03 +0200
commit69212b11d18d9d8951968f6ca88e6ce046c90675 (patch)
treebafe83527480cae15c9452542cd7ad3c88db6458 /src/misc1.c
parentd695ba732de915fc227c1069a7a4e1d5049601bd (diff)
downloadvim-git-69212b11d18d9d8951968f6ca88e6ce046c90675.tar.gz
patch 8.2.0728: messages about a deadly signal are not left alignedv8.2.0728
Problem: Messages about a deadly signal are not left aligned. Solution: Output a CR before the NL. (Dominique Pelle, #6055)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 6686a3514..a370a82f8 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -2174,7 +2174,7 @@ preserve_exit(void)
{
if (buf->b_ml.ml_mfp != NULL && buf->b_ml.ml_mfp->mf_fname != NULL)
{
- OUT_STR("Vim: preserving files...\n");
+ OUT_STR("Vim: preserving files...\r\n");
screen_start(); // don't know where cursor is now
out_flush();
ml_sync_all(FALSE, FALSE); // preserve all swap files
@@ -2184,7 +2184,7 @@ preserve_exit(void)
ml_close_all(FALSE); // close all memfiles, without deleting
- OUT_STR("Vim: Finished.\n");
+ OUT_STR("Vim: Finished.\r\n");
getout(1);
}