comparison src/normal.c @ 23165:a916fca16d4b v8.2.2128

patch 8.2.2128: there is no way to do something on CTRL-Z Commit: https://github.com/vim/vim/commit/100118c73ac068137cd298d22953896242752523 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 11 19:30:34 2020 +0100 patch 8.2.2128: there is no way to do something on CTRL-Z Problem: There is no way to do something on CTRL-Z. Solution: Add VimSuspend and VimResume autocommand events. (closes https://github.com/vim/vim/issues/7450)
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Dec 2020 19:45:04 +0100
parents 5fbac68bda23
children b545334ae654
comparison
equal deleted inserted replaced
23164:99ef85ff1af4 23165:a916fca16d4b
5785 nv_suspend(cmdarg_T *cap) 5785 nv_suspend(cmdarg_T *cap)
5786 { 5786 {
5787 clearop(cap->oap); 5787 clearop(cap->oap);
5788 if (VIsual_active) 5788 if (VIsual_active)
5789 end_visual_mode(); // stop Visual mode 5789 end_visual_mode(); // stop Visual mode
5790 do_cmdline_cmd((char_u *)"st"); 5790 do_cmdline_cmd((char_u *)"stop");
5791 } 5791 }
5792 5792
5793 /* 5793 /*
5794 * Commands starting with "g". 5794 * Commands starting with "g".
5795 */ 5795 */