aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-27 15:24:09 +0200
committerbfredl <bjorn.linse@gmail.com>2022-10-05 20:12:58 +0200
commitcce0840cbfc3c4ee9ae1d3fc9b283d557d0204ab (patch)
treef1b91e8fc5ababd59ba73987cb9a7163de3ce0ed /src/nvim/fileio.c
parent6679687bb3909f853ae97dfa01ae08ea2baf7f97 (diff)
downloadrneovim-cce0840cbfc3c4ee9ae1d3fc9b283d557d0204ab.tar.gz
rneovim-cce0840cbfc3c4ee9ae1d3fc9b283d557d0204ab.tar.bz2
rneovim-cce0840cbfc3c4ee9ae1d3fc9b283d557d0204ab.zip
refactor(redraw): various simplifications
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 76317298dc..b31b8336aa 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -1721,13 +1721,6 @@ failed:
appended_lines_mark(from, linecnt);
}
- // If we were reading from the same terminal as where messages go,
- // the screen will have been messed up.
- // Switch on raw mode now and clear the screen.
- if (read_stdin) {
- screenclear();
- }
-
if (got_int) {
if (!(flags & READ_DUMMY)) {
filemess(curbuf, sfname, _(e_interr), 0);