Swift Package Index

TerminalPaint

https://github.com/dduan/terminalpaint.git

A project that demonstrates how to build a TUI program in Swift


Compatibility

  • 1.0.0 and master
    5.3
    5.2
    5.1
    5.0
    4.2
  • 1.0.0 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS

This project demonstrates how to build a TUI program in Swift with Termbox. It's similar to a demo program included in the original termbox project.

You'll need Swift Package Manager to build it:

  1. clone this repo.
  2. go to the folder and run make.
  3. (press "q" to quit the program, read about it at bottom of your terminal).

For technical details, read Sources/TerminalPaint/main.swift