diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-07 22:31:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-07 22:31:44 +0200 |
commit | 40385dbcdfb44885f2e9b83e1e0285aeb8a0c2a8 (patch) | |
tree | 35de952db98f597df68144ef4ab99a294177861d /src/ex_docmd.c | |
parent | de3b3677f7eace66be454196db0fbf710cfc8c5e (diff) |
patch 8.1.0253: saving and restoring window title does not always workv8.1.0253
Problem: Saving and restoring window title does not always work.
Solution: Use the stack push and pop commands. (Kouichi Iwamoto,
closes #3059)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 0539a5114b..294fbdbccc 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -7750,7 +7750,7 @@ ex_stop(exarg_T *eap) stoptermcap(); out_flush(); /* needed for SUN to restore xterm buffer */ #ifdef FEAT_TITLE - mch_restore_title(3); /* restore window titles */ + mch_restore_title(SAVE_RESTORE_BOTH); /* restore window titles */ #endif ui_suspend(); /* call machine specific function */ #ifdef FEAT_TITLE |