简体   繁体   中英

C++ Command-Line program design UI?

I am given a task to develop an C++ command-line(terminal, I am using, will run the program in Linux/Ubuntu) display. But I dont like the command-line design, is there anyway to improve the UI design?

Note: I must run the program in terminal!!

ncurses . It's a lib to be able to put text wherever you want in the terminal, so you can effectively draw, ascii-art style in the terminal. It's also a very old library, so it may be a little tedious to use.

I developed a simple multiplatform console management library some time ago.

You can use it at least on Linux and Windows. It uses native calls in Windows, and standard escape codes in other platforms.

If you just want to show some colors, position the cursor, and so on, you can use it in a matter of minutes without struggling with ncurses.

The documentation (generated with doxygen) is included in the Zip file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM