Skip to content

brickpool/Termbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Termbox::Go

Termbox::Go is a Perl module that provides a minimalistic API and enables Perl programmers to create text-based user interfaces.

Here are three outstanding advantages:

1 Cross-platform compatibility

The library is cross-platform, providing both terminal-based implementations on *nix operating systems and a WinAPI-based console implementation for Windows operating systems.

2 Abstraction of functions

The basic idea is to abstract the largest common subset of functions available on all major terminals and other terminal-like APIs in a minimalistic way.

3 Simplicity of the API

A small API means that it is easy to implement, test, maintain and learn. This makes termbox a unique library.

Warning

This port of termbox-go is still quite new and still has to prove itself in production use and possibly be improved.

Install

To install the Termbox::Go module type the following:

cpan Termbox::Go

Manual install:

perl Makefile.PL
make
make install

Dependencies

Termbox::Go mainly needs Core modules of Perl >= v5.14, but also requires these modules:

If the module is used under Windows, some standard Win32 libraries (which are delivered with your Perl distribution) are required:

Examples

For examples of what you can do, see the various examples in the example/ directory. You can try them out via:

perl example/hello_world.pl

Credits

Termbox::Go is a port of termbox-go.

Author

  • Copyright (c) 2012 by termbox-go authors

  • MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages