navi icon indicating copy to clipboard operation
navi copied to clipboard

zsh widget results vary with terminal width

Open jkroes opened this issue 1 year ago • 0 comments

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 avatar Feb 05 '24 08:02 jkroes