TermFX: terminal programming for lua
What is it?
TermFX is a module that a program written in lua can use to create text based user interfaces. At its core it uses termbox, but provides a more lua like API, and some additional stuff like offscreen buffers and xterm color management.
What's new in version 0.7 (2015-04-22)
- added mouse support from newer versions of termbox
- in the case of key events, either key or char are now nil instead of 0.
- added termfx.copyregion, termfx.scrollregion and the same as buffer methods
- added termfx.getcell() and buffer:getcell()
- fixed a bug in termfx.colorinfo() for NORMAL output mode.
If you want to know a little more (even though it is not all that relevant any more to the lua version), you can check out the original termbox.h.
There is also a mercurial repository at https://hg.tset.de/public/termfx which is read-only, but also gets changes I make between the releases.
The termfx module and all accompanying documentation and additional source code is released under the terms of the MIT license.
Copyright (c) 2014 Gunnar Zötl
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
If you have anything to say about this, comments, bug reports, whatever, feel free to email them to