File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1010## Overview
1111
1212This is a library supporting the development of command-line tools in
13- the programming language Swift on macOS. The library provides the following
14- functionality:
13+ the programming language Swift on macOS. It also compiles under Linux.
14+ The library provides the following functionality:
1515
16- - Management of command-line arguments
17- - Usage of escape sequences in XTerms
16+ - Management of command-line arguments,
17+ - Usage of escape sequences on terminals, and
1818 - Reading strings on terminals using a lineread-inspired implementation
1919 based on the library [ Linenoise-Swift] ( https://github.com/andybest/linenoise-swift ) ,
2020 but supporting unicode input, multiple lines, and styled text.
@@ -143,9 +143,10 @@ CommandLineKit includes a significantly improved version of the "readline" API o
143143styled text. It supports all the existing features such as _ advanced keyboard support_ , _ history_ ,
144144_ text completion_ , and _ hints_ .
145145
146- The following code illustrates the usage of the LineReader API:
146+ The following code illustrates the usage of the
147+ [ LineReader] ( https://github.com/objecthub/swift-commandlinekit/blob/master/Sources/CommandLineKit/LineReader.swift ) API:
147148
148- ```
149+ ``` swift
149150if let ln = LineReader () {
150151 ln.setCompletionCallback { currentBuffer in
151152 let completions = [
You can’t perform that action at this time.
0 commit comments