Giter Club home page Giter Club logo

termbox's Introduction

Termbox is a library that provides minimalistic API which allows the
programmer to write text-based user interfaces.

TODO: better intro.

CHANGES
=======

v1.0.0:
- Remove the Go directory. People generally know about termbox-go and where
  to look for it.
- Remove old terminfo-related python scripts and backport the new one from
  termbox-go.
- Remove cmake/make-based build scripts, use waf.
- Add a simple terminfo database parser. Now termbox prefers using the
  terminfo database if it can be found. Otherwise it still has a fallback
  built-in database for most popular terminals.
- Some internal code cleanups and refactorings. The most important change is
  that termbox doesn't leak meaningless exported symbols like 'keys' and
  'funcs' now. Only the ones that have 'tb_' as a prefix are being exported.
- API: Remove unsigned ints, use plain ints instead.
- API: Rename UTF-8 functions 'utf8_*' -> 'tb_utf8_*'.
- API: TB_DEFAULT equals 0 now, it means you can use attributes alones
  assuming the default color.
- API: Add TB_REVERSE.
- API: Add TB_INPUT_CURRENT.
- Move python module to its own directory and update it due to changes in the
  termbox library.



INSTALLATION
============

Termbox comes with a waf-based build scripts. In order to configure, build and
install it, do the following:

  ./waf configure --prefix=/usr                                (configure)
  ./waf                                                        (build)
  ./waf install --destdir=DESTDIR                              (install)

By default termbox will install the header file and both shared and static
libraries. If you want to install a shared library or static library alone, use
the following as an install command:

  ./waf install --targets=termbox_shared --destdir=PREFIX      (shared library)
or
  ./waf install --targets=termbox_static --destdir=PREFIX      (static library)


PYTHON
------

In order to install the python module, use the following command (as root or
via sudo):

  python setup.py install



API DOCUMENTATION
=================

See src/termbox.h header file.



BUGS & QUESTIONS
================

Report bugs to the https://github.com/nsf/termbox issue tracker. Send rants
and questions to me: [email protected].

termbox's People

Contributors

nsf avatar rofl0r avatar galdor avatar klardotsh avatar ei-grad avatar talanis85 avatar ssharunas avatar chreekat avatar pschuegr avatar voker57 avatar

Watchers

lemonhall avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.