Skip to content

duderain/libeasyansi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libeasyansi

GitHub License

A simple header-only wrapper for ANSI escape codes so you don't have to account for it in another operating system.

How to use

Include libeasyansi.hpp

Basic Usage:

int main(){
    std::cout << easyansi::invert << easyansi::setColour(easyansi::colour::green) << "this is the power of libeasyansi!" << easyansi::resetGraphics("7") << easyansi::italics <<" + with ease of access" << easyansi::reset << std::endl;
    return 0;
}

If you are compiling for Windows, the library will automatically set ansi up.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

About

Header Only library for ANSI Escape Codes.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages