swift-termina

1.0.0

Terminal rendering driver.
hanjoes/swift-termina

What's New

Release 1.0.0

2019-06-29T04:37:04Z

Build Status

Termina

Terminal "character-based" rendering, driven by ANSI escape sequences. This library is free of Foundation.

Usage

var t = Termbo(width: 1, height: 1)
let lines = ["|", "\\", "-", "/"]
for i in 1 ... 100 {
    t.render(bitmap: [lines[i % lines.count]], to: stdout)
    usleep(10000)
}
t.clear(stdout) // use "t.end()" if you want to keep the rendered content

Demo

Quick Demo

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Oct 23 2024 07:55:47 GMT-0900 (Hawaii-Aleutian Daylight Time)