mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
parent
b336eb46f0
commit
3fcff30d9a
@ -843,8 +843,6 @@ enum CMD_index
|
||||
BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR),
|
||||
EX(CMD_sfirst, "sfirst", ex_rewind,
|
||||
EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR),
|
||||
EX(CMD_shell, "shell", ex_shell,
|
||||
TRLBAR|CMDWIN),
|
||||
EX(CMD_simalt, "simalt", ex_simalt,
|
||||
NEEDARG|WORD1|TRLBAR|CMDWIN),
|
||||
EX(CMD_sign, "sign", ex_sign,
|
||||
|
@ -155,7 +155,6 @@ static void ex_stop(exarg_T *eap);
|
||||
static void ex_exit(exarg_T *eap);
|
||||
static void ex_print(exarg_T *eap);
|
||||
static void ex_goto(exarg_T *eap);
|
||||
static void ex_shell(exarg_T *eap);
|
||||
static void ex_preserve(exarg_T *eap);
|
||||
static void ex_recover(exarg_T *eap);
|
||||
static void ex_mode(exarg_T *eap);
|
||||
@ -5722,14 +5721,6 @@ static void ex_goto(exarg_T *eap)
|
||||
goto_byte(eap->line2);
|
||||
}
|
||||
|
||||
/*
|
||||
* ":shell".
|
||||
*/
|
||||
static void ex_shell(exarg_T *eap)
|
||||
{
|
||||
do_shell(NULL, 0);
|
||||
}
|
||||
|
||||
#if (defined(FEAT_WINDOWS) && defined(HAVE_DROP_FILE)) \
|
||||
|| (defined(FEAT_GUI_GTK) && defined(FEAT_DND)) \
|
||||
|| defined(FEAT_GUI_MSWIN) \
|
||||
|
17
src/ui.c
17
src/ui.c
@ -209,23 +209,6 @@ void ui_suspend(void)
|
||||
mch_suspend();
|
||||
}
|
||||
|
||||
#if !defined(UNIX) || !defined(SIGTSTP) || defined(PROTO) || defined(__BEOS__)
|
||||
/*
|
||||
* When the OS can't really suspend, call this function to start a shell.
|
||||
* This is never called in the GUI.
|
||||
*/
|
||||
void suspend_shell(void)
|
||||
{
|
||||
if (*p_sh == NUL)
|
||||
EMSG(_(e_shellempty));
|
||||
else {
|
||||
MSG_PUTS(_("new shell started\n"));
|
||||
do_shell(NULL, 0);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Try to get the current Vim shell size. Put the result in Rows and Columns.
|
||||
* Use the new sizes as defaults for 'columns' and 'lines'.
|
||||
|
Loading…
Reference in New Issue
Block a user