To: vim-dev@vim.org Subject: patch 5.5.038 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.5.038 Problem: When typing a long ":" command, so that the screen scrolls up, causes the hit-return prompt, even though the user just typed return to execute the command. Solution: Reset need_wait_return if (part of) the command was typed in getcmdline(). Files: src/ex_getln.c *** ../vim-5.5.37/src/ex_getln.c Tue Oct 12 19:48:51 1999 --- src/ex_getln.c Tue Nov 2 14:07:04 1999 *************** *** 1258,1263 **** --- 1258,1267 ---- msg_scroll = save_msg_scroll; redir_off = FALSE; + /* When the command line was typed, no need for a wait-return prompt. */ + if (some_key_typed) + need_wait_return = FALSE; + State = save_State; #ifdef USE_MOUSE setmouse(); *** ../vim-5.5.37/src/version.c Sun Oct 31 16:27:53 1999 --- src/version.c Tue Nov 2 14:13:54 1999 *************** *** 420,420 **** --- 420,421 ---- { /* Add new patch number below this line */ + 38, -- hundred-and-one symptoms of being an internet addict: 58. You turn on your computer and turn off your wife. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /