mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
'titleold': move logic to getout()
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user