v2.0.1-alpha.13: fix crash when COMP_POINT is greater than COMP_LINE size (#128)
posener
released this
17 Nov 16:08
·
12 commits
to master
since this release
Some shells (inexplicably) occasionally have a COMP_POINT that is greater than the COMP_LINE size. When that happens completion should be based on length of the COMP_LINE to avoid an out of bounds error. See the original hack fix here: https://github.com/chriswalz/bit/blob/master/cmd/bitcomplete.go on line 39