Swift C module for ncurses (Linux)
For details about using ncurses, see https://invisible-island.net/ncurses/.
Add a .Package
dependency to your Package.swift
file as shown in the following example:
import PackageDescription
let package = Package(
name: "myapp
dependencies: [
.Package(url: "https://github.com/iachievedit/CNCURSES", majorVersion:1)
]
)
Install the development headers for libncurses5
:
sudo apt-get install -y libncurses5-dev