Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dduan/termbox
Swift Wrapper for Termbox: A Lightweight TUI Library
https://github.com/dduan/termbox
swift tui
Last synced: about 1 month ago
JSON representation
Swift Wrapper for Termbox: A Lightweight TUI Library
- Host: GitHub
- URL: https://github.com/dduan/termbox
- Owner: dduan
- License: other
- Created: 2016-12-27T01:30:10.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2022-05-14T01:01:01.000Z (almost 3 years ago)
- Last Synced: 2024-12-31T19:05:55.378Z (about 2 months ago)
- Topics: swift, tui
- Language: C
- Homepage:
- Size: 34.2 KB
- Stars: 74
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
| Swift 5.5 |
|-|
|[](https://github.com/dduan/Termbox/actions?query=workflow%3A%22Amazon+Linux+2%22)|
|[](https://github.com/dduan/Termbox/actions?query=workflow%3A%22CentOS+8%22)|
|[](https://github.com/dduan/Termbox/actions?query=workflow%3A%22macOS+11.15%22)|
|[](https://github.com/dduan/Termbox/actions?query=workflow%3A%22Ubuntu+Bionic%22)|
|[](https://github.com/dduan/Termbox/actions?query=workflow%3A%22Ubuntu+Focal%22)|This is a Swift wrapper for [termbox](https://github.com/nsf/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.[demo]: https://github.com/dduan/Termbox/blob/main/Examples/paint/main.swift
[C library]: https://github.com/nsf/termbox/tree/master/src/demo