]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.160
- updated to 7.1.285
[packages/vim.git] / 7.1.160
CommitLineData
e98ed9b1
ER
1To: vim-dev@vim.org
2Subject: Patch 7.1.160
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.160
11Problem: When a focus autocommand is defined, getting or losing focus
12 causes the hit-enter prompt to be redrawn. (Bjorn Winckler)
13Solution: Overwrite the last line.
14Files: 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--
48hundred-and-one symptoms of being an internet addict:
49142. 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.032053 seconds and 4 git commands to generate.