-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No highlighting while cycling menu completion results #375
Comments
Patch upstream: workers/39590 |
Committed upstream in zsh-users/zsh@5b192a4. @m0vie, I assume we can close this issue, unless there is a z-sy-h side fix that can be done to support older zsh's? |
(To be clear: the upstream patch fixes this issue.) |
Yes, I don't think there is anything we can do to make it work with older versions. |
I still observe this issue in zsh v.5.3.1. Can somebody confirm if this is fixed in latest zsh. |
@ratheesh Yes, it's fixed in latest zsh. |
If I enable menu select using |
If I enable menu select using
`zstyle ':completion:*:*:*:*:*' menu select`,
the functionality breaks. Is this expected?
Is there a setting or workaround to get this working?
Which version of zsh are you using? 5.3.1 doesn't have the fix; only latest master does.
(I can't easily test that `zstyle` right now, but FWIW, my usual setting — which I assume I was testing with — is `zstyle ':completion:*' menu select=long-list select=3`.)
|
@danielshahaf |
(Sorry for shouting. I typed "all" in lowercase; I think it's a github bug.) |
@m0vie @danielshahaf |
With zsh 5.3.1-test-2-0-gd17f9d32f (similar to 5.4) and The fix mentioned about is about zle-line-pre-redraw which is not used by the master branch; it is used by the feature/redrawhook branch, however, the behaviour there is similar to the behaviour on master. Could somebody please confirm (a) that the above is a valid test case for this issue, (b) that it used to work at one time with some (which?) combination of zsh and z-sy-h? |
This feature only works correctly, if the zle-line-pre-redraw hook is used. It does not work correctly with latest zsh master / z-sy-h master. About your questions: By the way: I just saw that my comment from June 03 was totally misplaced, that one was about the isearch issue. (I removed it) |
with |
Just to add, |
may I know if any got a chance look into this. |
Sorry, missed your comments.
Okay; labeled as such and added to the list in #245. Hopefully redrawhook will be merged for 0.7.0 so this will be fixed then.
Please test with latest master of both and if it's still a problem, open a new issue. Thanks! |
I'm experiencing this, which has been an issue for nine years, wow (#25)! What's the latest fix? |
Will be fixed when redrawhook is fixed, hopefully soon. In the meantime you can workaround this by using (or merging) the |
@danielshahaf Why isn't that branch just merged into master? I'm seeing this in latest zsh 5.8 from homebrew. |
Because it causes a regression in a certain class of use-cases (see #418 and #579) and we're trying to figure out how to solve that regression without making a change to zsh itself (zsh-users/zsh#57), waiting for the next zsh release, and requiring all users to upgrade to that. |
Awesome, thanks for responding! |
🎉🎉 Congrats guys! |
Thanks :-) |
While cycling through results in menu completion, no highlighting is applied:
No widget is called for current
master
branch.zle-line-pre-redraw
is not called, either.Not sure about 1), but 2) can probably be fixed by introducing another
redrawhook();
in upstream.The text was updated successfully, but these errors were encountered: