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.
This port of termbox-go is still quite new and still has to prove itself in production use and possibly be improved.
To install the Termbox::Go module type the following:
cpan Termbox::Go
Manual install:
perl Makefile.PL
make
make install
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:
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
Termbox::Go is a port of termbox-go.
2024 J. Schneider <http://github.com/brickpool>
Copyright (c) 2012 by termbox-go authors
MIT License