diff options
author | ckelsel <ckelsel@hotmail.com> | 2017-10-07 18:14:09 +0800 |
---|---|---|
committer | ckelsel <ckelsel@hotmail.com> | 2017-10-07 18:14:09 +0800 |
commit | f2b9ccec106b6c4619cc762ea77546810f1cbfd4 (patch) | |
tree | 93fb82598ecf1d227137cd093c16cc14b537e76c /src/nvim/main.c | |
parent | fae55937ac31c0d61c2c89ed0e9be43f3bd2a759 (diff) | |
parent | 01487d4385aeffae4b2365689c7d798f740f7100 (diff) | |
download | rneovim-f2b9ccec106b6c4619cc762ea77546810f1cbfd4.tar.gz rneovim-f2b9ccec106b6c4619cc762ea77546810f1cbfd4.tar.bz2 rneovim-f2b9ccec106b6c4619cc762ea77546810f1cbfd4.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 024c56dd05..ea7a58bda3 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -649,6 +649,11 @@ void getout(int exitval) /* Position the cursor again, the autocommands may have moved it */ ui_cursor_goto((int)Rows - 1, 0); + // Apply 'titleold'. + if (p_title && *p_titleold != NUL) { + ui_call_set_title(cstr_as_string((char *)p_titleold)); + } + #if defined(USE_ICONV) && defined(DYNAMIC_ICONV) iconv_end(); #endif |