Re: How can I update screen from macro?
- Здравствуйте Keith,
Thursday, November 6, 2003, 8:04:08 PM, you wrote:
>>-----Original Message-----KR> IIUC, the idea of increasing 'cmdheight' is to allow you to see the
>>From: Eugene Minkovskii [mailto:emin@...]
>>Sent: Thursday, November 06, 2003 3:46 AM
>>Cc: Benji Fisher
>>Subject: Re: How can I update screen from macro?
>>Tuesday, November 4, 2003, 4:42:42 PM, you wrote:
>>[ .......................... skiped .......................... ]
>>BF> I think the problem is not that you are using a mapping or a
>>BF> script. I think the problem is that vim is waiting for a response from
>>BF> the confirm() function, and it will not redraw the screen until it gets
>>BF> one. I suggest the following:
>>BF> import vim
>>BF> vim.command("go 1")
>>BF> vim.command("set ch+=2")
>>BF> request = vim.eval("confirm('test','Ok')")
>>BF> vim.command("set ch-=2")
>>BF> :help 'ch'
>>So, this don't work too, I'll try it. :((
>>But if :redraw command don't work, how the 'cmdheight' can redraw the
KR> confirm() prompt, which might be hidden? Then, once you confirm, the screen
KR> will be redrawn.
I think it's bad idea there are many other, and more directly
function, :redraw for example.
So I'LL TRY ALL OF THIS.
Сенсорно Ваш, Евгений Миньковский
Yours Sincerely, Eugene Minkovskii