Skip to content
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

zsh widget results vary with terminal width #878

Open
jkroes opened this issue Feb 5, 2024 · 0 comments
Open

zsh widget results vary with terminal width #878

jkroes opened this issue Feb 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jkroes
Copy link

jkroes commented Feb 5, 2024

Describe the bug
The zsh widget returns different lists of candidates for the same input when using a full-screen and half-screen terminal. The issue seems linked to width_percentage in config.yaml.

Expected behavior
The same input should lead to the same list of candidates.

Screenshots
Half-width terminal:
image

Full-width terminal:
image

** Configuration **

style:
  tag:
    width_percentage: 10
  comment:
    width_percentage: 45
  snippet:
    width_percentage: 45

Versions:

  • OS: macos
  • zsh 5.9 (x86_64-apple-darwin23.0)
@jkroes jkroes added the bug Something isn't working label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant