Skip to content

Commit 266bc42

Browse files
authored
Merge pull request #2 from NerdOfCode/patch-1
Update Attribute.swift
2 parents b5ef490 + d910cd0 commit 266bc42

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

Sources/Attribute.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
2121
of the text in a `Window`.
2222

2323
Instances of this class may not be initialized by client code.
24-
Rather, there are several preset contants available.
24+
Rather, there are several preset constants available.
2525
The class is also used internally to represent colors.
2626

2727
Typical usage:
@@ -40,27 +40,27 @@ public class Attribute {
4040
self.value = value
4141
}
4242

43-
/// Normal terminal display (no highlighting)
43+
// Normal terminal display (no highlighting)
4444
static public let normal = Attribute(value:Curses.attributeNormal)
4545

46-
/// Best highlighting mode of the terminal
46+
// Terminal display with highlighting
4747
static public let standout = Attribute(value:Curses.attributeStandout)
4848

49-
/// Text is underlined
49+
// Text is underlined
5050
static public let underline = Attribute(value:Curses.attributeUnderline)
5151

52-
/// Text is reversed
52+
// Text is reversed
5353
static public let reverse = Attribute(value:Curses.attributeReverse)
5454

55-
/// Text blinks
55+
// Text blinks
5656
static public let blink = Attribute(value:Curses.attributeBlink)
5757

58-
/// Text is dimmed
58+
// Text is dimmed
5959
static public let dim = Attribute(value:Curses.attributeDim)
6060

61-
/// Text is bold
61+
// Text is bold
6262
static public let bold = Attribute(value:Curses.attributeBold)
6363

64-
/// Text is invisible
64+
// Text is invisible
6565
static public let invisible = Attribute(value:Curses.attributeInvisible)
6666
}

0 commit comments

Comments
 (0)