Merge pull request #1 from rderik/add-license-1 Create LICENSE
Merge pull request #1 from rderik/add-license-1
Create LICENSE
A system library wrapper for ncurses(3) to be used with Swift.
ncurses(3)
Add it as a dependency in your swift package manifest (Package.swift):
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()
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
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
):Now you can import it from your Swift files as a regular module, as make calls to
ncurses(3)
functions. For example: