Skip to content
No description, website, or topics provided.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


Simple ANSI is a package that contains simple ANSI operations using escape sequences. It was developed to be used in the Pac Go project, but feel free to use it anywhere you would like :)


This package contain helper functions for some common terminal operations. One important difference in regards to the ANSI standard is that we consider the top left corner to be zero-based (0,0) instead of 1-based (1,1). The only reason for that is that it simplifies the code for drawing when you are iterating over an array of slices, as it is used in Pac Go.


This project is open source under the MIT license, which means you are basically free to do whatever you want with it, just give me the proper credits. :)

If you want to contribute just raise an issue and/or submit a pull request.

If you are looking for inspiration you may browse the open issues or have a look at the TODO list.

Everything on the TODO list should be planned as a new step on the tutorial unless otherwise noted.



Contacting the Author

If you have any questions, please reach out to me at I'm also on Twitter as @danicat83.

Finally, you can support me on Ko-Fi if you like my work and want me to continue doing crazy stuff like this project:


You can’t perform that action at this time.