* If screen is completely filled and 'more' is set then wait
* for a character.
*/
- if (p_more && --lines_left == 0 && State != HITRETURN
+ --lines_left;
+ if (p_more && lines_left == 0 && State != HITRETURN
&& !msg_no_more && !exmode_active)
{
#ifdef FEAT_CON_DIALOG
else
MSG_PUTS(_("Choice number (<Enter> cancels): "));
- /* Set the state such that text can be selected/copied/pasted. */
+ /* Set the state such that text can be selected/copied/pasted and we still
+ * get mouse events. */
save_cmdline_row = cmdline_row;
- cmdline_row = Rows - 1;
+ cmdline_row = 0;
save_State = State;
- if (mouse_used == NULL)
- State = CMDLINE;
- else
- State = NORMAL;
+ State = CMDLINE;
i = get_number(TRUE, mouse_used);
if (KeyTyped)