If I start typing my command:
command-one param | command-two param
Then I go back and try to edit command-one and change it to command-three, put my cursor here:
com_ | command-two param
Then I hit tab, it actually prints tab. No autocomplete. I think the code doesn't even think about the cursor position. Is it possible to react to the cursor pos?
If I start typing my command:
command-one param | command-two param
Then I go back and try to edit command-one and change it to command-three, put my cursor here:
com_ | command-two param
Then I hit tab, it actually prints tab. No autocomplete. I think the code doesn't even think about the cursor position. Is it possible to react to the cursor pos?