diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-16 22:25:13 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-16 22:44:07 -0400 |
commit | 96a555346b294130e0b4f64f55b00d3838cc922f (patch) | |
tree | 059249b51624ab06fa16d30f40c8cdc6366b351e /src/nvim/misc1.c | |
parent | 288f7f8558c331fadcc72e9c7391fff08d42ba36 (diff) | |
download | rneovim-96a555346b294130e0b4f64f55b00d3838cc922f.tar.gz rneovim-96a555346b294130e0b4f64f55b00d3838cc922f.tar.bz2 rneovim-96a555346b294130e0b4f64f55b00d3838cc922f.zip |
vim-patch:8.2.0728: messages about a deadly signal are not left aligned
Problem: Messages about a deadly signal are not left aligned.
Solution: Output a CR before the NL. (Dominique Pelle, vim/vim#6055)
https://github.com/vim/vim/commit/69212b11d18d9d8951968f6ca88e6ce046c90675
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 6dafbafb3e..1cd9ff2c4d 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -983,7 +983,7 @@ void preserve_exit(void) FOR_ALL_BUFFERS(buf) { if (buf->b_ml.ml_mfp != NULL && buf->b_ml.ml_mfp->mf_fname != NULL) { - mch_errmsg((uint8_t *)"Vim: preserving files...\n"); + mch_errmsg("Vim: preserving files...\r\n"); ui_flush(); ml_sync_all(false, false, true); // preserve all swap files break; @@ -992,7 +992,7 @@ void preserve_exit(void) ml_close_all(false); // close all memfiles, without deleting - mch_errmsg("Vim: Finished.\n"); + mch_errmsg("Vim: Finished.\r\n"); getout(1); } |