Thursday, October 7, 2010

Re: Can I avoid window flash when running script?

Ответ на сообщение «Can I avoid window flash when running script?»,
присланное в 08:22:52 08 октября 2010, Пятница.
Отправитель: hsitz:

Maybe ``set lazyredraw'' will help you.
From ``:help lazyredraw'':
When this option is set, the screen will not be redrawn while
executing macros, registers and other commands that have not been
typed. Also, updating the window title is postponed. To force an
update use |:redraw|.

Текст сообщения:
> I have scripts that open and close windows (on same tab) while they
> operate. I would like for screen to appear absolutely stable while
> script runs up to the time it ends, since at end the window structure
> is identical to when it begins. But there is is a subtle but
> noticeable white flash as a window is open or closed, something like
> the visual bell. (Although the visual bell is turned off.) Is there
> some way to avoid this flash?
>
> Thanks for any help.
>
> -- Herb

No comments: