getchar() blocks the output

2011-08-26 Thread sinbad
hi, i've the following function. 1 fun! Dosome() 2 vertical botright new 3 setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile 4 setlocal nowrap 5 setlocal nonu 6 7 for m in g:list 8 let txt = printf("%s %-50s %-4d %-50s", m[0], m[1]. "()", m[2

Re: getchar() blocks the output

2011-08-26 Thread Marcin Szamotulski
On 06:50 Fri 26 Aug , sinbad wrote: > hi, > > i've the following function. > > 1 fun! Dosome() > 2 vertical botright new > 3 setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile > 4 setlocal nowrap > 5 setlocal nonu > 6 > 7 for m in g:list > 8

Re: getchar() blocks the output

2011-08-26 Thread ZyX
Reply to message «getchar() blocks the output», sent 17:50:08 26 August 2011, Friday by sinbad: > basically i want to display a list of choices for the user and based > on the users input i will take some action. so the lines 7-8 will > actually list the users with some choices in a n

Re: getchar() blocks the output

2011-08-28 Thread sinbad
On Aug 26, 8:01 pm, ZyX wrote: > Reply to message «getchar() blocks the output», > sent 17:50:08 26 August 2011, Friday > by sinbad: > > > basically i want to display a list of choices for the user and based > > on the users input i will take some action. so the lines 7-