On Fri, 20 Oct 2006 at 4:34pm, Mikolaj Machowski wrote: > Dnia pi±tek, 20 pa¼dziernika 2006 08:26, Hari Krishna Dara napisa³: > > Here is a demo that shows how to use it in insert mode. What the > > function does is to double every key you press, except <Esc> and <C-C>, > > when it breaks the loop. > > If world could be so beautiful... > > In Linux terminal and GTK2 versions cursor is stuck in command line and > don't at its real position making inserting of text almost random. :( > > m.
Getting stuck at command-line is normal, as it is always waiting on getchar(). I realize will not be suitable for all applications, but works well for what I am trying to achieve. I don't however understand the random part that you are mentioning. What exactly is happening? Is the position where the text is inserted random? -- Thanks, Hari __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com