comparison src/proto/ex_docmd.pro @ 18402:527b7084c556 v8.1.2195

patch 8.1.2195: Vim does not exit when the terminal window is last window Commit: https://github.com/vim/vim/commit/4d14bac8e7441368977e81266166f728105a60d4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 20 21:15:15 2019 +0200 patch 8.1.2195: Vim does not exit when the terminal window is last window Problem: Vim does not exit when closing a terminal window and it is the last window. Solution: Exit Vim if the closed terminal window is the last one. (closes #4539)
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Oct 2019 21:30:03 +0200
parents fd6c8dc33152
children 94eda51ba9ba
comparison
equal deleted inserted replaced
18401:d1bb50cdb9ad 18402:527b7084c556
13 long excmd_get_argt(cmdidx_T idx); 13 long excmd_get_argt(cmdidx_T idx);
14 char_u *skip_range(char_u *cmd, int *ctx); 14 char_u *skip_range(char_u *cmd, int *ctx);
15 void ex_ni(exarg_T *eap); 15 void ex_ni(exarg_T *eap);
16 int expand_filename(exarg_T *eap, char_u **cmdlinep, char **errormsgp); 16 int expand_filename(exarg_T *eap, char_u **cmdlinep, char **errormsgp);
17 void separate_nextcmd(exarg_T *eap); 17 void separate_nextcmd(exarg_T *eap);
18 char_u *skip_cmd_arg( char_u *p, int rembs); 18 char_u *skip_cmd_arg(char_u *p, int rembs);
19 int get_bad_opt(char_u *p, exarg_T *eap); 19 int get_bad_opt(char_u *p, exarg_T *eap);
20 int ends_excmd(int c); 20 int ends_excmd(int c);
21 char_u *find_nextcmd(char_u *p); 21 char_u *find_nextcmd(char_u *p);
22 char_u *check_nextcmd(char_u *p); 22 char_u *check_nextcmd(char_u *p);
23 char_u *get_command_name(expand_T *xp, int idx); 23 char_u *get_command_name(expand_T *xp, int idx);
24 void not_exiting(void); 24 void not_exiting(void);
25 void ex_quit(exarg_T *eap);
25 void tabpage_close(int forceit); 26 void tabpage_close(int forceit);
26 void tabpage_close_other(tabpage_T *tp, int forceit); 27 void tabpage_close_other(tabpage_T *tp, int forceit);
27 void handle_drop(int filec, char_u **filev, int split, void (*callback)(void *), void *cookie); 28 void handle_drop(int filec, char_u **filev, int split, void (*callback)(void *), void *cookie);
28 void handle_any_postponed_drop(void); 29 void handle_any_postponed_drop(void);
29 void ex_splitview(exarg_T *eap); 30 void ex_splitview(exarg_T *eap);
30 void tabpage_new(void); 31 void tabpage_new(void);
31 void do_exedit(exarg_T *eap, win_T *old_curwin); 32 void do_exedit(exarg_T *eap, win_T *old_curwin);
32 void free_cd_dir(void); 33 void free_cd_dir(void);
33 void post_chdir(cdscope_T cdscope); 34 void post_chdir(cdscope_T scope);
34 int changedir_func(char_u *new_dir, int forceit, cdscope_T cdscope); 35 int changedir_func(char_u *new_dir, int forceit, cdscope_T scope);
35 void ex_cd(exarg_T *eap); 36 void ex_cd(exarg_T *eap);
36 void do_sleep(long msec); 37 void do_sleep(long msec);
37 void ex_may_print(exarg_T *eap); 38 void ex_may_print(exarg_T *eap);
38 void ex_redraw(exarg_T *eap); 39 void ex_redraw(exarg_T *eap);
39 int vim_mkdir_emsg(char_u *name, int prot); 40 int vim_mkdir_emsg(char_u *name, int prot);
45 void exec_normal_cmd(char_u *cmd, int remap, int silent); 46 void exec_normal_cmd(char_u *cmd, int remap, int silent);
46 void exec_normal(int was_typed, int use_vpeekc, int may_use_terminal_loop); 47 void exec_normal(int was_typed, int use_vpeekc, int may_use_terminal_loop);
47 int find_cmdline_var(char_u *src, int *usedlen); 48 int find_cmdline_var(char_u *src, int *usedlen);
48 char_u *eval_vars(char_u *src, char_u *srcstart, int *usedlen, linenr_T *lnump, char **errormsg, int *escaped); 49 char_u *eval_vars(char_u *src, char_u *srcstart, int *usedlen, linenr_T *lnump, char **errormsg, int *escaped);
49 char_u *expand_sfile(char_u *arg); 50 char_u *expand_sfile(char_u *arg);
50 int put_eol(FILE *fd);
51 int put_line(FILE *fd, char *s);
52 void dialog_msg(char_u *buff, char *format, char_u *fname); 51 void dialog_msg(char_u *buff, char *format, char_u *fname);
53 void set_no_hlsearch(int flag); 52 void set_no_hlsearch(int flag);
54 int is_loclist_cmd(int cmdidx); 53 int is_loclist_cmd(int cmdidx);
55 int get_pressedreturn(void); 54 int get_pressedreturn(void);
56 void set_pressedreturn(int val); 55 void set_pressedreturn(int val);