Yasuhiro Matsumoto wrote:
> Hi, all.
>
> input() / inputsecret() accept CR/LF character.
>
> --------------
> let cr = "I am\nYasuhiro\nMatsumoto"
> echo inputdialog("Who are you?:", cr)
> --------------
>
> This script close input area automaticaly.
> about initstr for input(), we should remove CR/LF characters.
Well, the help for input() says that the text is used as if the user
typed this.
I wonder why you have any CR or LF in your text, what is the problem you
are solving?
--
This planet has -- or rather had -- a problem, which was this: most
of the people living on it were unhappy for pretty much of the time.
Many solutions were suggested for this problem, but most of these
were largely concerned with the movements of small green pieces of
paper, which is odd because on the whole it wasn't the small green
pieces of paper that were unhappy.
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
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