Skip to content

iachievedit/CNCURSES

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

CNCURSES

Swift C module for ncurses (Linux)

For details about using ncurses, see https://invisible-island.net/ncurses/.

Including in Swift Code

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)
  ]
)

Ubuntu Installation (Trusty)

Install the development headers for libncurses5:

sudo apt-get install -y libncurses5-dev