DEV Community

Gianluca Bianco
Gianluca Bianco

Posted on

osmanip 4.0.0, a library to manipulate ANSI escape sequences: added support to Windows and MacOS operating systems

Hi everybody, I recently shared with you a library I developed in order to manipulate ANSI escape sequences: it provides you useful tools for terminal output-stream decoration and manipulation. Each feature is really easy to use and 100% customizable. Some of them are:

Color, style, cursor and ANSI escape codes manipulators.

Progress bars, 100% customizable with messages, colors and different styles / types.

2D terminal graphics and plotting (without GUI, but directly on the terminal).

Other stuff is incoming.

Since some of you asked me to care about support on other platforms than Linux, I decided to release a new version in which I added features to support also Windows and MacOS operating systems. For what regard Windows, the library can now be used on Cygwin64, MSYS2, MinGW and WSL (tested so far). I didn't worked on pure Windows powershell support, but it could be provided by updating the makefile (if you want to send a pull request or open an issue to require this feature it would be good for me) in order to correctly compile the code on powershell too (I will probably add CMake compilation tools in future, but for the moment GNU make is enough).

If someone of you want to contribute with a pull request to fix bugs or add improvements he/she would be more than welcome!

If you like it don’t forget to leave a star on Github! Thanks.

Github repository link: https://github.com/JustWhit3/osmanip

Top comments (2)

Collapse
 
justwhit3 profile image
Gianluca Bianco

@miguelmj yeah dude! Thanks a lot for your contributions!!

Collapse
 
miguelmj profile image
MiguelMJ

Glad to see this growing!