aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-06-14 18:00:59 +0200
committerGitHub <noreply@github.com>2018-06-14 18:00:59 +0200
commitc46997aa8744f88e9886022dab703157c101cff7 (patch)
treeea9dafd38264c3e8b3c0e8c1449f13d7baabd79b /src/nvim/screen.c
parentf27a665e0515c280e1fa6c999f29921eb882c6b2 (diff)
parent5442f0b6221946e482dec2cb82576f0ba38900fe (diff)
downloadrneovim-c46997aa8744f88e9886022dab703157c101cff7.tar.gz
rneovim-c46997aa8744f88e9886022dab703157c101cff7.tar.bz2
rneovim-c46997aa8744f88e9886022dab703157c101cff7.zip
Merge pull request #8546 from bfredl/eob
Add fillchar for EndOfBuffer and check for invalid UTF-8
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index cf9a72715b..80f7a32c07 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -1532,9 +1532,9 @@ static void win_update(win_T *wp)
} else if (dollar_vcol == -1)
wp->w_botline = lnum;
- /* make sure the rest of the screen is blank */
- /* put '~'s on rows that aren't part of the file. */
- win_draw_end(wp, '~', ' ', row, wp->w_height, HLF_EOB);
+ // make sure the rest of the screen is blank
+ // write the 'fill_eob' character to rows that aren't part of the file.
+ win_draw_end(wp, fill_eob, ' ', row, wp->w_height, HLF_EOB);
}
/* Reset the type of redrawing required, the window has been updated. */