Skip to content

Commit e7eab4a

Browse files
committed
Changed background function to use backgroundSet
1 parent 779394a commit e7eab4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Curses.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ internal class Curses {
167167
let unicodeScalars = character.unicodeScalars
168168
let ascii = UInt(unicodeScalars[unicodeScalars.startIndex].value)
169169
let attributeAndCharacter : UInt = UInt(attributeValue) | ascii
170-
CNCURSES.wbkgd(windowHandle, attributeAndCharacter)
170+
CNCURSES.wbkgdset(windowHandle, attributeAndCharacter)
171171
}
172172

173173
var maxColorCount : Int {

0 commit comments

Comments
 (0)