home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / old / 5.5.038 < prev    next >
Encoding:
Internet Message Format  |  1999-11-01  |  1.3 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.5.038
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.5.038
  8. Problem:    When typing a long ":" command, so that the screen scrolls up,
  9.             causes the hit-return prompt, even though the user just typed
  10.             return to execute the command.
  11. Solution:   Reset need_wait_return if (part of) the command was typed in
  12.             getcmdline().
  13. Files:      src/ex_getln.c
  14.     
  15.  
  16. *** ../vim-5.5.37/src/ex_getln.c    Tue Oct 12 19:48:51 1999
  17. --- src/ex_getln.c    Tue Nov  2 14:07:04 1999
  18. ***************
  19. *** 1258,1263 ****
  20. --- 1258,1267 ----
  21.       msg_scroll = save_msg_scroll;
  22.       redir_off = FALSE;
  23.   
  24. +     /* When the command line was typed, no need for a wait-return prompt. */
  25. +     if (some_key_typed)
  26. +     need_wait_return = FALSE;
  27.       State = save_State;
  28.   #ifdef USE_MOUSE
  29.       setmouse();
  30. *** ../vim-5.5.37/src/version.c    Sun Oct 31 16:27:53 1999
  31. --- src/version.c    Tue Nov  2 14:13:54 1999
  32. ***************
  33. *** 420,420 ****
  34. --- 420,421 ----
  35.   {   /* Add new patch number below this line */
  36. +     38,
  37.  
  38. --
  39. hundred-and-one symptoms of being an internet addict:
  40. 58. You turn on your computer and turn off your wife.
  41.  
  42. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  43.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  44.