Library for working with console
This library can be used to create application with console UI. It supports:
- text positioning
- keyboard events handling
ncurses.hon Unix-based OS
console.c to your project and use them:
That's all for Windows.
On Unix-based OS you should also have ncurses library installed.
For example, use apt-get on Linux:
apt-get install libncurses5-dev
Or use your favourite package manager on your favourite OS.
After this add
-lncurses to gcc options of your project.
There is an
example.c which can be useful to understand using of this
To build and run on Windows just compile all files together.
On Unix-based OS it's easy too:
make && ./example
This library was inspired by Alexey Nikitin and developed together with Ivan Novikov aka NIA.
Any feedback is welcome! Open pull request or email to email@example.com.
Copyright © 2013 Vladimir Parfinenko, released under the MIT license.