]>
Commit | Line | Data |
---|---|---|
78f27e33 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.123 | |
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.2.123 | |
11 | Problem: Typing 'q' at more prompt for ":map" output still displays another | |
12 | line, causing another more prompt. (Markus Heidelberg) | |
13 | Solution: Quit listing maps when 'q' typed. | |
14 | Files: src/getchar.c | |
15 | ||
16 | ||
17 | *** ../vim-7.2.122/src/getchar.c Fri Nov 28 12:05:07 2008 | |
18 | --- src/getchar.c Sun Feb 22 23:10:45 2009 | |
19 | *************** | |
20 | *** 3816,3822 **** | |
21 | --- 3816,3826 ---- | |
22 | int len = 1; | |
23 | ||
24 | if (msg_didout || msg_silent != 0) | |
25 | + { | |
26 | msg_putchar('\n'); | |
27 | + if (got_int) /* 'q' typed at MORE prompt */ | |
28 | + return; | |
29 | + } | |
30 | if ((mp->m_mode & (INSERT + CMDLINE)) == INSERT + CMDLINE) | |
31 | msg_putchar('!'); /* :map! */ | |
32 | else if (mp->m_mode & INSERT) | |
33 | *** ../vim-7.2.122/src/version.c Sun Feb 22 21:12:22 2009 | |
34 | --- src/version.c Sun Feb 22 23:16:29 2009 | |
35 | *************** | |
36 | *** 678,679 **** | |
37 | --- 678,681 ---- | |
38 | { /* Add new patch number below this line */ | |
39 | + /**/ | |
40 | + 123, | |
41 | /**/ | |
42 | ||
43 | -- | |
44 | hundred-and-one symptoms of being an internet addict: | |
45 | 120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun." | |
46 | ||
47 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
48 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
49 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
50 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |