In this chapter, you will learn about writing command-line applications that have a user interface (UI). You will look at adding text styling, such as italic or bold text, text of a different color, a UI that uses a spinner, and more. This kind of user interface is possible by using ANSI escape codes, which contain code to do certain things in the terminal.
15. ANSI and UI
Get Software Development with Go: Cloud-Native Programming using Golang with Linux and Docker now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.