On Mon, July 16, 2012 10:17, John Beckett wrote:
> I don't know, but a short problem description follows.
>
> " In gvim, the following shows "cancel" if press Esc to cancel.
> :set guioptions&
> :echo '"'.inputdialog('Enter text ', 'default', 'cancel').'"'
>
> " But the following shows "" if press Esc to cancel.
> :set guioptions+=c
> :echo '"'.inputdialog('Enter text ', 'default', 'cancel').'"'
>
> According to ':help inputdialog()' both should give "cancel".
> Why is there a difference?Because the console version of inputdialog() does simply not use the provided cancel argument ;) regards, Christian -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
inputdialog.diff
Description: Binary data
