]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.160
- updated to 7.1.285
[packages/vim.git] / 7.1.160
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.160
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.1.160
11 Problem:    When a focus autocommand is defined, getting or losing focus
12             causes the hit-enter prompt to be redrawn. (Bjorn Winckler)
13 Solution:   Overwrite the last line.
14 Files:      src/message.c
15
16
17 *** ../vim-7.1.159/src/message.c        Thu Sep 13 22:04:30 2007
18 --- src/message.c       Sun Nov  4 17:33:15 2007
19 ***************
20 *** 2850,2855 ****
21 --- 2850,2864 ----
22       }
23       else if (State == HITRETURN || State == SETWSIZE)
24       {
25 +       if (msg_row == Rows - 1)
26 +       {
27 +           /* Avoid drawing the "hit-enter" prompt below the previous one,
28 +            * overwrite it.  Esp. useful when regaining focus and a
29 +            * FocusGained autocmd exists but didn't draw anything. */
30 +           msg_didout = FALSE;
31 +           msg_col = 0;
32 +           msg_clr_eos();
33 +       }
34         hit_return_msg();
35         msg_row = Rows - 1;
36       }
37 *** ../vim-7.1.159/src/version.c        Tue Nov 20 18:03:34 2007
38 --- src/version.c       Sat Nov 24 15:41:43 2007
39 ***************
40 *** 668,669 ****
41 --- 668,671 ----
42   {   /* Add new patch number below this line */
43 + /**/
44 +     160,
45   /**/
46
47 -- 
48 hundred-and-one symptoms of being an internet addict:
49 142. You dream about creating the world's greatest web site.
50
51  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
52 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\        download, build and distribute -- http://www.A-A-P.org        ///
54  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.033228 seconds and 3 git commands to generate.