Skip to content

lrcno6/console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

console

cross-platform console library


version

beta 2.0: add Console::Color


license: LGPL-3.0

GitHub address: https://github.com/lrcno6/console


Console is a cross-platform console library. You can move the cursor, use colors and so on.

it runs everywhere (in theory) (tested on Windows (MSVC), Windows (MinGW) and linux (g++))


how to use it

you should make first:

make linux # for linux (g++)
make windows_msvc # for Windows (Visual C++)
make windows_mingw # for Windows (MinGW)

and then link to libconsole.a or console.lib:

# for example
g++ user.cpp -o user -Lconsole -lconsole -lcurses # for linux (g++), remember to link to libcurses
cl user.cpp console/console.lib # for Windows (MSVC)
g++ user.cpp -o user -Lconsole -lconsole # for Windows (MinGW)

welcome to contribute to console

by lrcno6

About

cross-platform console library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published