-
-
Notifications
You must be signed in to change notification settings - Fork 152
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: do you wish to see all X possibilities" #311
Comments
It seems like
|
I'm not sure what you mean by this. Can you please include clear, step-by-step instructions to reproduce? |
Possibly. It's at least the same symptom. |
Above (for MacOS) I can reproduce with both native MacOS |
Ah, now I get it. That's expected behavior and a "feature" of |
Thanks. Was able to fix it with
(https://zsh.sourceforge.io/Doc/Release/Completion-System.html#Standard-Styles) |
Hm, though it doesn't really fix it as it's still 'eating' key strokes... |
@Timoses But it happens only when you resize and your currently have a list of completions open, right? That case is pretty much beyond my control. |
No, it also happens when the window is already small. |
How small? |
I'm unable to reproduce it when typing in a Terminal of that size on macOS. Can you give me some examples of what you're typing when you get interrupted? |
Oh, and have you updated |
Well, as stated above I am typing the following: Which by default produces this output
If I make the window smaller it shows:
I now also found a scenario where it shows this:
(terminal screen is between the small size when it triggers "do you wish to see all ..." and the large size when it has no difficulties showing all). So for reproduction it's probably best to first check on a large screen whether You can see it in live action here: https://asciinema.org/a/P7kHOrAKM5lhLtA5b9tMLnjNo |
Yes, that was my point. It only shows under the following conditions, right?
Is that what you mean? If so, then no, there's nothing I can do about that, as the resizing does not trigger But the following never happens, right?
That should never happen (except for a couple of cases that trigger bugs in |
|
It does. As explained above, when the terminal is small enough that the completion menu entries do not fit then it displays 'do you wish ...'. It happens either by resizing while the completion menu shows or by already having a small terminal size and then typing |
Watch it here: https://vimeo.com/583025620 |
Thanks for the video. I will add a minimum required terminal size to the Readme, as there really isn’t much I can do for that case. 🙂 |
I admit the terminal from above window is very small : D. This would be a more practical example where it's really annoying and where the size isn't really that small: Plus, it seem's there are some weird effects where first it works with 'MORE' but then again not. And it prints 'do you wish ...' when typing only EDIT: I'll reupload the video, seems to be wrong.. |
Fixed link: https://vimeo.com/583029610 (above was broken) |
From above recording I can reproduce the follwing:
I can even increase a bit more and it still displays 'do you wish...'. Only if I increase it again until I see 'MORE' again, and then reduce size again it displays 'MORE'. Sounds like a hysteresis curve >.< |
Thanks for the new video. I have been able to reproduce some of it now. It looks like I made an optimistic rounding error. I'll have a fix ready soon. |
Should be fixed now. At least, I'm not able to reproduce it anymore. 🙂 PS: If you enjoy using my software, please consider sponsoring me. |
zsh-autocomplete
version: 3abe9dbabove, copy-paste the contents of your terminal here:
Above works when pane is zoomed in (fills space of screen).
However, once the pane is smaller I get this:
Size info when it works:
Size info when it fials:
The text was updated successfully, but these errors were encountered: