Skip to content

No highlighting while cycling menu completion results #375

@m0vie

Description

@m0vie
Contributor

While cycling through results in menu completion, no highlighting is applied:
untitled

  1. No widget is called for current master branch.

  2. zle-line-pre-redraw is not called, either.

Not sure about 1), but 2) can probably be fixed by introducing another redrawhook(); in upstream.

Activity

danielshahaf

danielshahaf commented on Oct 16, 2016

@danielshahaf
Member

Patch upstream: workers/39590

danielshahaf

danielshahaf commented on Oct 19, 2016

@danielshahaf
Member

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?

danielshahaf

danielshahaf commented on Oct 19, 2016

@danielshahaf
Member

(To be clear: the upstream patch fixes this issue.)

m0vie

m0vie commented on Oct 19, 2016

@m0vie
ContributorAuthor

Yes, I don't think there is anything we can do to make it work with older versions.

ratheesh

ratheesh commented on Jun 1, 2017

@ratheesh

I still observe this issue in zsh v.5.3.1. Can somebody confirm if this is fixed in latest zsh.

danielshahaf

danielshahaf commented on Jun 1, 2017

@danielshahaf
Member

@ratheesh Yes, it's fixed in latest zsh.

ratheesh

ratheesh commented on Jun 2, 2017

@ratheesh

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?

danielshahaf

danielshahaf commented on Jun 2, 2017

@danielshahaf
Member
ratheesh

ratheesh commented on Jun 3, 2017

@ratheesh

@danielshahaf
I am using 5.3.1. But I also tried the latest master(a6135f6) branch. I still see this issue.
I tried zstyle config that you mentioned, I did not see any difference.

danielshahaf

danielshahaf commented on Jun 3, 2017

@danielshahaf
Member

Reopening per @ratheesh's last comment. @ALL Can somebody investigate this?

danielshahaf

danielshahaf commented on Jun 3, 2017

@danielshahaf
Member

(Sorry for shouting. I typed "all" in lowercase; I think it's a github bug.)

6 remaining items

ratheesh

ratheesh commented on Aug 13, 2017

@ratheesh

Just to add, z-sy-h feature/redrawhook branch breaks zsh-autosuggestions plugin highlighting.

ratheesh

ratheesh commented on Sep 12, 2017

@ratheesh

may I know if any got a chance look into this.

danielshahaf

danielshahaf commented on Sep 14, 2017

@danielshahaf
Member

Sorry, missed your comments.

with zsh 5.4.1 master and z-sy-h feature/redrawhook branch, this feature works fine for me.

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.

Just to add, z-sy-h feature/redrawhook branch breaks zsh-autosuggestions plugin highlighting.

Please test with latest master of both and if it's still a problem, open a new issue. Thanks!

ColemanGariety

ColemanGariety commented on Apr 11, 2020

@ColemanGariety

I'm experiencing this, which has been an issue for nine years, wow (#25)! What's the latest fix?

danielshahaf

danielshahaf commented on Apr 11, 2020

@danielshahaf
Member

Will be fixed when redrawhook is fixed, hopefully soon. In the meantime you can workaround this by using (or merging) the feature/redrawhook branch.

nhooyr

nhooyr commented on May 26, 2020

@nhooyr

@danielshahaf Why isn't that branch just merged into master?

I'm seeing this in latest zsh 5.8 from homebrew.

danielshahaf

danielshahaf commented on May 26, 2020

@danielshahaf
Member

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.

nhooyr

nhooyr commented on May 26, 2020

@nhooyr

Awesome, thanks for responding!

nhooyr

nhooyr commented on Aug 9, 2020

@nhooyr

🎉🎉

Congrats guys!

danielshahaf

danielshahaf commented on Aug 10, 2020

@danielshahaf
Member

Thanks :-)

added a commit that references this issue on Apr 6, 2024
c14fcad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ratheesh@ColemanGariety@m0vie@danielshahaf@nhooyr

        Issue actions

          No highlighting while cycling menu completion results · Issue #375 · zsh-users/zsh-syntax-highlighting