How to implement cross-platform cscope-like text-based user interface?

痞子三分冷 提交于 2019-12-11 15:05:49

问题


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:


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



来源:https://stackoverflow.com/questions/5961798/how-to-implement-cross-platform-cscope-like-text-based-user-interface

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!