Skip to content

ikelax/swift-ansi-escapes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swift-ansi-escapes

ANSI escape codes for manipulating the terminal.

Port of ansi-escapes from sindresorhus to Swift.

Installation

You can install swift-ansi-escapes using the Swift Package Manager. To add it to your Xcode project, go to File > Swift Packages > Add Package Dependency and enter the URL of this repository.

You can also add it to a standalone Swift package by adding it to your Package.swift file:

let package = Package(
    name: "MyPackage",
    dependencies: [
        .package(url: "https://github.com/ikelax/swift-ansi-escapes.git", from: "0.1.0")
    ],
    targets: [
        .target(
            name: "MyPackage",
            dependencies: ["AnsiEscapes"])
    ]
)

Usage

I will add documentation in a future PR.

License

swift-ansi-escapes is available under the MIT license. See the [LICENSE] file for more info.

About

ANSI escape codes for manipulating the terminal

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages