Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 27, 2022 12:10 pm GMT

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 dont forget to leave a star on Github! Thanks.

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


Original Link: https://dev.to/justwhit3/osmanip-400-a-library-to-manipulate-ansi-escape-sequences-added-support-to-windows-and-macos-operating-systems-39di

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To