Cncurses

0.1.1

A system library wrapper for ncurses to be used in Swift
rderik/Cncurses

What's New

0.1.1

2020-07-26T21:40:15Z

Adds Project licence

Cncurses

A system library wrapper for ncurses(3) to be used with Swift.

How to use

Add it as a dependency in your swift package manifest (Package.swift):

let package = Package(
    dependencies: [
        .package(url: "https://github.com/rderik/Cncurses.git", from: "0.1.0")
    ]
)

Now you can import it from your Swift files as a regular module, as make calls to ncurses(3) functions. For example:

import Cncurse

initscr()

addstr("hello")
refresh()
getch()

endwin()

Description

  • Swift Tools 5.2.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Apr 13 2024 04:55:49 GMT-0900 (Hawaii-Aleutian Daylight Time)