How to implement cross-platform cscope-like text-b

2019-08-23 22:32发布

I want my C++ program to:

  • Allow the selection of choices as in cscope; that is using tabs, and circularly iterating over the choices.
  • Further, the choices should not scroll, as is the case with cscope.

Any ideas how I can implement this? I would like my implementation to be cross-platform i.e. supports Windows, Linux and Mac environments.

1条回答
Summer. ? 凉城
2楼-- · 2019-08-23 22:48

I think you want ncurses. Have a look at the Linux tool aptitude to see what it can look like.

查看更多
登录 后发表回答