Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] zle: Call zle-line-pre-redraw when popping from bufstack.



On Sun, Sep 25, 2016 at 3:25 PM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> ---
> I'd appreciate another pair of eyes; it looks correct but I'm not very
> familiar with this part of the code.
>
> Originally reported as <https://github.com/zsh-users/zsh-syntax-highlighting/issues/40>.

It's a nice looking patch, but it doesn't actually make any difference
for me. If it did, calling the syntax hilight hook from the
zle-line-init hook function should have worked too, since that hook is
called 3 lines later.

The only thing I've found that makes it work is calling redrawhook()
from inside zrefresh() but we obviously don't want to do that.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author