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
now start shell again and do a reverse search with CTRL+R (like we used to do in bash)
and type "ex" to let it find "exit"
CTRL+R ex
prompt will show:
$ exit
bck-i-search: ex
so far so good. now since you've found the desired command, you could hit enter to execute it. but instead just try to complete the command by hitting tab.
panic at completer.go line 28.
you can try it with the main.go in examples. you will have to enable history for this to work though.
shell.SetHistoryPath("/tmp/history") so you can backsearch in the first place.
The text was updated successfully, but these errors were encountered:
I've found out that this bug is happening when you just move the cursor in front of a word and try to complete it. which is the case when doing above mentioned reverse search. so it is not dependent on a reverse search at all.
Hi abiosoft,
to reproduce this, do the following:
prompt will show:
so far so good. now since you've found the desired command, you could hit enter to execute it. but instead just try to complete the command by hitting tab.
panic at completer.go line 28.
you can try it with the main.go in examples. you will have to enable history for this to work though.
shell.SetHistoryPath("/tmp/history")
so you can backsearch in the first place.The text was updated successfully, but these errors were encountered: