You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to occur when there are many items that wrap around the screen and there seems to be an off-by-2 (?) issue with the calculation and the terminal height.
The prompt implementation code in pnpm can be found here:
K, I looked at the prompt and I think I reproduced what you're describing, but I want to make sure I'm focused on the right thing. There are three things that could potentially be wrapping incorrectly, is it one or multiple of the following?
The prompt message string isn't wrapping correctly, horizontally
The choice message strings aren't wrapping correctly, horizontally
The list of choices is overflowing vertically
Or something else?
Sorry for the late reply, please let me know if you are able to recall what the specific issue was. thanks!
See issue I reported downstream with pnpm here.
The issue seems to occur when there are many items that wrap around the screen and there seems to be an off-by-2 (?) issue with the calculation and the terminal height.
The prompt implementation code in pnpm can be found here:
https://github.com/pnpm/pnpm/blob/100d03b36bd0aefb30fd64ee769d3eaed2ea6d87/pkg-manager/plugin-commands-installation/src/update/index.ts#L212
I can potentially create a reproduction (when time allows).
The text was updated successfully, but these errors were encountered: