knqyf263 / pet

Simple command-line snippet manager
MIT License
4.54k stars 230 forks source link

Configure Text Wrapping in Completion Boxes #166

Closed jkroes closed 8 months ago

jkroes commented 3 years ago

In the README, an example of variable completion is shown:

Screen Shot 2021-04-14 at 9 31 32 PM

In contrast, I haven't been able to replicate text wrapping in zsh on arm64 MacOS (homebrew installation).

Screen Shot 2021-04-14 at 9 39 14 PM
jkroes commented 3 years ago

I enabled scrolling horizontally during queries by configuring pet to use peco instead of fzf; however, that still leaves the issue above with not being able to see the third parameter/variable in the second image above during completion.

RamiAwar commented 8 months ago

Thanks for reporting this, does indeed look like a bug to me, happening locally as well.

RamiAwar commented 8 months ago

So I'm not sure why this was set to Wrap = false, but I'm just going to change it to true. Seems to fix it on my mac.

image image