Skip to content

Single-header library for adding barcharts in your ncurses terminal application. Uses C++11 and compiled latest on MacOS. Requires unicode support.

License

Notifications You must be signed in to change notification settings

SimonRenblad/cpp-term-barchart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp-term-barchart

Single-header library for adding barcharts in your ncurses terminal application. Uses C++11 and compiled latest on MacOS. Requires unicode support.

Example

Get Started

To use, you must:

  1. Copy the header file to your directory.
  2. Include it at the top of your file, with an additional library:
#include "barchart.h"
#include <locale.h>
  1. Before any call to ncurses, include the following line in your code:
setlocale(LC_ALL, "");

Compile the example code

This repository contains an additional example.cpp and Makefile to make it easier to understand.

Assuming you have g++ installed, simply call:

make

in your local repo.

About

Single-header library for adding barcharts in your ncurses terminal application. Uses C++11 and compiled latest on MacOS. Requires unicode support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published