Mercurial > vim
comparison src/proto/window.pro @ 27805:afbe86e8b24a v8.2.4428
patch 8.2.4428: crash when switching tabpage while in the cmdline window
Commit: https://github.com/vim/vim/commit/0f6e28f686dbb59ab3b562408ab9b2234797b9b1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 20 20:49:35 2022 +0000
patch 8.2.4428: crash when switching tabpage while in the cmdline window
Problem: Crash when switching tabpage while in the cmdline window.
Solution: Disallow switching tabpage when in the cmdline window.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Feb 2022 22:00:03 +0100 |
parents | 18cafa092e8d |
children | a52a5e3363c4 |
comparison
equal
deleted
inserted
replaced
27804:8fc68ce4a097 | 27805:afbe86e8b24a |
---|---|
1 /* window.c */ | 1 /* window.c */ |
2 win_T *prevwin_curwin(void); | |
2 void do_window(int nchar, long Prenum, int xchar); | 3 void do_window(int nchar, long Prenum, int xchar); |
3 void get_wincmd_addr_type(char_u *arg, exarg_T *eap); | 4 void get_wincmd_addr_type(char_u *arg, exarg_T *eap); |
4 int win_split(int size, int flags); | 5 int win_split(int size, int flags); |
5 int win_split_ins(int size, int flags, win_T *new_wp, int dir); | 6 int win_split_ins(int size, int flags, win_T *new_wp, int dir); |
6 int win_valid_popup(win_T *win); | 7 int win_valid_popup(win_T *win); |