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
Platform Arch Linux Terminal software alacritty Nushell71d604
It seems like under some circumstances I'm not able to press tab to highlight autocomplete for files. I think it's related to the files having the same prefix, but I'm not sure. I haven't fully bisected the issue, but I wasn't able to reproduce the issue on nushell 28a746 and was able to reproduce the issue on 71d604. There was a reedline update between those two commits which includes 2a57906, 4096b93, and 660a507. The latter seems the most related to the issue, so I suspect it's the culprint (@uek-1)
Steps to reproduce
In nushell,
Make a new directory and cd into it
touch testa testb testc
ls test<TAB>, then continue to press tab. testc will not be highlighted, however you can still select it with right arrow.
The text was updated successfully, but these errors were encountered:
Took a look at this, it is indeed caused by my changes. menu.can_partially_complete(...) resets the selected item to 0 which makes it impossible to continue past the second suggestion. I opened a PR that would fix this issue by returning false when the suggested partial completion is exactly equal to the input contents (#834). I think it's a little confusing that the function menu.can_partially_complete() mutates at all - it might make more sense to split it into two different functions.
Platform Arch Linux
Terminal software alacritty
Nushell 71d604
It seems like under some circumstances I'm not able to press tab to highlight autocomplete for files. I think it's related to the files having the same prefix, but I'm not sure. I haven't fully bisected the issue, but I wasn't able to reproduce the issue on nushell 28a746 and was able to reproduce the issue on 71d604. There was a reedline update between those two commits which includes 2a57906, 4096b93, and 660a507. The latter seems the most related to the issue, so I suspect it's the culprint (@uek-1)
Steps to reproduce
In nushell,
cd
into ittouch testa testb testc
ls test<TAB>
, then continue to press tab.testc
will not be highlighted, however you can still select it with right arrow.The text was updated successfully, but these errors were encountered: