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
{{ message }}
Repository navigation
completion menu underlines badly with utf8 chars #17450
Argh, I thought we'd fixed all these sorts of issues. Looks like the substring matching we do in Reedline doesn't use graphemes. Should be an easy fix.
Argh, I thought we'd fixed all these sorts of issues. Looks like the substring matching we do in Reedline doesn't use graphemes. Should be an easy fix.
I wonder do we still need the substring searching in reedline once #17424 gets merged.
@blindFS Yeah, for Nushell, that's the only use case I can think of. We could always move the substring matching out of Reedline and into Nushell (and tell other Reedline consumers to also implement their own substring matching). But I don't think that would help anything
@blindFS Yeah, for Nushell, that's the only use case I can think of. We could always move the substring matching out of Reedline and into Nushell (and tell other Reedline consumers to also implement their own substring matching). But I don't think that would help anything
Good point, still worth to fix the substring matching as a fallback when indices are missing.
Since #17424 file completions send their own match positions, so on 0.117 ls ro<Tab> with the substring algorithm underlines ro in numéro.txt.
For completers that don't send positions, nushell/reedline#1303 maps the fallback highlight to graphemes, it was merged after 0.117.
Activity
fdncred commentedon Jan 29, 2026
ugh, unicode. @ysthakur thoughts?
ysthakur commentedon Jan 29, 2026
Argh, I thought we'd fixed all these sorts of issues. Looks like the substring matching we do in Reedline doesn't use graphemes. Should be an easy fix.
blindFS commentedon Jan 30, 2026
I wonder do we still need the substring searching in reedline once #17424 gets merged.
Maybe only required for external completer?
ysthakur commentedon Jan 30, 2026
@blindFS Yeah, for Nushell, that's the only use case I can think of. We could always move the substring matching out of Reedline and into Nushell (and tell other Reedline consumers to also implement their own substring matching). But I don't think that would help anything
blindFS commentedon Jan 30, 2026
Good point, still worth to fix the substring matching as a fallback when indices are missing.
kronberger-droid commentedon Nov 16, 2026
Since #17424 file completions send their own match positions, so on 0.117
ls ro<Tab>with the substring algorithm underlinesroinnuméro.txt.For completers that don't send positions, nushell/reedline#1303 maps the fallback highlight to graphemes, it was merged after 0.117.