1
0
forked from aniani/vim

updated for version 7.0084

This commit is contained in:
Bram Moolenaar
2005-06-13 22:28:56 +00:00
parent bac97eb8ae
commit 9ba0eb850c
41 changed files with 3431 additions and 691 deletions

View File

@@ -3137,6 +3137,27 @@ get_number(colon)
return n;
}
/*
* Ask the user to enter a number.
*/
int
prompt_for_number()
{
int i;
/* When using ":silent" assume that <CR> was entered. */
MSG_PUTS(_("Choice number (<Enter> cancels): "));
i = get_number(TRUE);
if (KeyTyped) /* don't call wait_return() now */
{
msg_putchar('\n');
cmdline_row = msg_row - 1;
need_wait_return = FALSE;
msg_didany = FALSE;
}
return i;
}
void
msgmore(n)
long n;