99ed643
To: vim-dev@vim.org
99ed643
Subject: Patch 7.2.123
99ed643
Fcc: outbox
99ed643
From: Bram Moolenaar <Bram@moolenaar.net>
99ed643
Mime-Version: 1.0
99ed643
Content-Type: text/plain; charset=ISO-8859-1
99ed643
Content-Transfer-Encoding: 8bit
99ed643
------------
99ed643
99ed643
Patch 7.2.123
99ed643
Problem:    Typing 'q' at more prompt for ":map" output still displays another
99ed643
            line, causing another more prompt. (Markus Heidelberg)
99ed643
Solution:   Quit listing maps when 'q' typed.
99ed643
Files:      src/getchar.c
99ed643
99ed643
99ed643
*** ../vim-7.2.122/src/getchar.c	Fri Nov 28 12:05:07 2008
99ed643
--- src/getchar.c	Sun Feb 22 23:10:45 2009
99ed643
***************
99ed643
*** 3816,3822 ****
99ed643
--- 3816,3826 ----
99ed643
      int len = 1;
99ed643
  
99ed643
      if (msg_didout || msg_silent != 0)
99ed643
+     {
99ed643
  	msg_putchar('\n');
99ed643
+ 	if (got_int)	    /* 'q' typed at MORE prompt */
99ed643
+ 	    return;
99ed643
+     }
99ed643
      if ((mp->m_mode & (INSERT + CMDLINE)) == INSERT + CMDLINE)
99ed643
  	msg_putchar('!');			/* :map! */
99ed643
      else if (mp->m_mode & INSERT)
99ed643
*** ../vim-7.2.122/src/version.c	Sun Feb 22 21:12:22 2009
99ed643
--- src/version.c	Sun Feb 22 23:16:29 2009
99ed643
***************
99ed643
*** 678,679 ****
99ed643
--- 678,681 ----
99ed643
  {   /* Add new patch number below this line */
99ed643
+ /**/
99ed643
+     123,
99ed643
  /**/
99ed643
99ed643
-- 
99ed643
hundred-and-one symptoms of being an internet addict:
99ed643
120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun."
99ed643
99ed643
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
99ed643
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
99ed643
\\\        download, build and distribute -- http://www.A-A-P.org        ///
99ed643
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///