On 16/03/09 22:18 +0100, Bram Moolenaar wrote:
> 
> This works just fine for me:
> 
>       try
>         let reply = input("what ")
>       catch /Vim:Interrupt/
>         let reply = "caught " . v:exception
>       endtry
>       echo reply
> 
> 

It seems not work for me, When I press <C-c> at the prompt (which is
"what "), nothing was echoed, and after that I checked the value of
variable 'reply', it is empty. 

I tested with VIM 7.2-p1-141 on an openbsd box and a VIM 7.0 release
version on win32. Both give me the same result.
-- 
Dasn


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to