How to Implement Tab Completion

后端 未结 2 822
一生所求
一生所求 2021-02-02 09:53

I\'m trying to figure out how to implement tab completion for subcommands in a C++ application. I would like it to function much like Git\'s tab completion. I\'m trolling throug

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-02 10:24

    The question was answered in the comments.

    Is tab completion a feature of the particular shell the application is being executed from?

    yes

    What are the basics I need to know about getting my application to support tab completion (particularly in C++)?

    basically learn more about bash-completion

提交回复
热议问题