dduan / Termbox

Swift Wrapper for Termbox: A Lightweight TUI Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift 5.5
Amazon Linux 2
CentOS 8
macOS 11.15
Ubuntu Bionic
Ubuntu Focal

This is a Swift wrapper for termbox.

Both the original C library and a Swift wrapper are included for Swift Package Manager uses. You can import ctermbox to use the original C API, or import Termbox to use the Swift API.

For a quick start, checkout the example paint (swift run paint), a small TUI program built with termbox.

You can read the comments in Sources/Termbox/Termbox.swift for more documentations. There are more demo programs in the C library as well.

About

Swift Wrapper for Termbox: A Lightweight TUI Library

License:Other


Languages

Language:C 46.8%Language:Swift 26.8%Language:C++ 25.4%Language:Shell 0.8%Language:Makefile 0.2%