aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <msva@users.noreply.github.com>2017-03-18 19:43:47 +0700
committerJustin M. Keyes <justinkz@gmail.com>2017-03-18 13:43:47 +0100
commitbdcb2a38b3667c01efada0c6ed9414426f1c0468 (patch)
treef257fc7720d08f95182ca8fe1d09b2be0d29c026 /src/nvim/fileio.c
parentc6b3975774b21461873c6be9da3b9b0bcef4017a (diff)
downloadrneovim-bdcb2a38b3667c01efada0c6ed9414426f1c0468.tar.gz
rneovim-bdcb2a38b3667c01efada0c6ed9414426f1c0468.tar.bz2
rneovim-bdcb2a38b3667c01efada0c6ed9414426f1c0468.zip
readfile(): Remove "Reading from stdin..." #6298
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 9c64be6d0c..873c15ff4a 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -700,16 +700,9 @@ readfile (
wasempty = (curbuf->b_ml.ml_flags & ML_EMPTY);
if (!recoverymode && !filtering && !(flags & READ_DUMMY)) {
- /*
- * Show the user that we are busy reading the input. Sometimes this
- * may take a while. When reading from stdin another program may
- * still be running, don't move the cursor to the last line, unless
- * always using the GUI.
- */
- if (read_stdin) {
- mch_msg(_("Nvim: Reading from stdin...\n"));
- } else if (!read_buffer)
+ if (!read_stdin && !read_buffer) {
filemess(curbuf, sfname, (char_u *)"", 0);
+ }
}
msg_scroll = FALSE; /* overwrite the file message */