summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.389
blob: c8a968c362e4521f29f32b7b4e0545605b0a8f33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
To: vim_dev@googlegroups.com
Subject: Patch 7.3.389
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.389
Problem:    After typing at a prompt the "MORE" message appears too soon.
Solution:   reset lines_left in msg_end_prompt(). (Eswald)
Files:	    src/message.c


*** ../vim-7.3.388/src/message.c	2011-09-14 15:39:26.000000000 +0200
--- src/message.c	2011-12-30 14:08:05.000000000 +0100
***************
*** 85,91 ****
   *		    need_wait_return to be set.  This is a hack to make ":ts"
   *		    work without an extra prompt.
   * lines_left	    Number of lines available for messages before the
!  *		    more-prompt is to be given.
   * need_wait_return TRUE when the hit-return prompt is needed.
   *		    Reset: After giving the hit-return prompt, when the user
   *		    has answered some other prompt.
--- 85,91 ----
   *		    need_wait_return to be set.  This is a hack to make ":ts"
   *		    work without an extra prompt.
   * lines_left	    Number of lines available for messages before the
!  *		    more-prompt is to be given.  -1 when not set.
   * need_wait_return TRUE when the hit-return prompt is needed.
   *		    Reset: After giving the hit-return prompt, when the user
   *		    has answered some other prompt.
***************
*** 855,860 ****
--- 855,861 ----
      cmdline_row = msg_row;
      msg_col = 0;
      msg_clr_eos();
+     lines_left = -1;
  }
  #endif
  
*** ../vim-7.3.388/src/version.c	2011-12-30 13:39:04.000000000 +0100
--- src/version.c	2011-12-30 14:11:00.000000000 +0100
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     389,
  /**/

-- 
Proofread carefully to see if you any words out.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///