diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-29 20:39:38 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-29 20:39:38 +0000 |
commit | 651fca85c71a4c5807f8f828f9ded30fbd754325 (patch) | |
tree | 8e8524432d917e2657b7717aeb40823b21b1c38c /src/term.c | |
parent | 0c359af5c0fd106d3f57cc0bb7cef1c89b5e1e10 (diff) | |
download | vim-git-651fca85c71a4c5807f8f828f9ded30fbd754325.tar.gz |
patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699
Problem: The +title feature adds a lot of #ifdef but little code.
Solution: Graduate the +title feature.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/term.c b/src/term.c index 52533e950..eb4dffaac 100644 --- a/src/term.c +++ b/src/term.c @@ -2123,9 +2123,7 @@ set_termname(char_u *term) { starttermcap(); // may change terminal mode setmouse(); // may start using the mouse -#ifdef FEAT_TITLE maketitle(); // may display window title -#endif } // display initial screen after ttest() checking. jw. @@ -3091,8 +3089,7 @@ term_ul_rgb_color(guicolor_T rgb) } #endif -#if (defined(FEAT_TITLE) && (defined(UNIX) || defined(VMS) \ - || defined(MACOS_X))) || defined(PROTO) +#if (defined(UNIX) || defined(VMS) || defined(MACOS_X)) || defined(PROTO) /* * Generic function to set window title, using t_ts and t_fs. */ @@ -3505,9 +3502,8 @@ set_shellsize(int width, int height, int mustset) if (starting != NO_SCREEN) { -#ifdef FEAT_TITLE maketitle(); -#endif + changed_line_abv_curs(); invalidate_botline(); |