comparison src/screen.c @ 23932:4549133c1e77 v8.2.2508

patch 8.2.2508: cannot change the character displayed in non existing lines Commit: https://github.com/vim/vim/commit/a98f8a230596d8fb44cc68321de72980a21428cb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 13 18:24:23 2021 +0100 patch 8.2.2508: cannot change the character displayed in non existing lines Problem: Cannot change the character displayed in non existing lines. Solution: Add the "eob" item to 'fillchars'. (closes https://github.com/vim/vim/issues/7832, closes https://github.com/vim/vim/issues/3820)
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Feb 2021 18:30:03 +0100
parents 0bd44e94dd14
children 44be09b25619
comparison
equal deleted inserted replaced
23931:5b37a0bf7e3a 23932:4549133c1e77
4763 {&fill_stl, "stl"}, 4763 {&fill_stl, "stl"},
4764 {&fill_stlnc, "stlnc"}, 4764 {&fill_stlnc, "stlnc"},
4765 {&fill_vert, "vert"}, 4765 {&fill_vert, "vert"},
4766 {&fill_fold, "fold"}, 4766 {&fill_fold, "fold"},
4767 {&fill_diff, "diff"}, 4767 {&fill_diff, "diff"},
4768 {&fill_eob, "eob"},
4768 }; 4769 };
4769 static struct charstab lcstab[] = 4770 static struct charstab lcstab[] =
4770 { 4771 {
4771 {&lcs_eol, "eol"}, 4772 {&lcs_eol, "eol"},
4772 {&lcs_ext, "extends"}, 4773 {&lcs_ext, "extends"},
4810 { 4811 {
4811 lcs_tab1 = NUL; 4812 lcs_tab1 = NUL;
4812 lcs_tab3 = NUL; 4813 lcs_tab3 = NUL;
4813 } 4814 }
4814 else 4815 else
4816 {
4815 fill_diff = '-'; 4817 fill_diff = '-';
4818 fill_eob = '~';
4819 }
4816 } 4820 }
4817 p = *varp; 4821 p = *varp;
4818 while (*p) 4822 while (*p)
4819 { 4823 {
4820 for (i = 0; i < entries; ++i) 4824 for (i = 0; i < entries; ++i)