Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25600e48fb | ||
|
|
7c06c99bd1 |
@@ -44,10 +44,10 @@ func printToScreenFrom(myself: Bool, characterToPrint: UnicodeScalar){
|
||||
|
||||
if(myturn && !myself){
|
||||
myturn = false
|
||||
print("\nOther: ", terminator:"")
|
||||
print("\n\nOther: ", terminator:"")
|
||||
} else if (!myturn && myself){
|
||||
myturn = true
|
||||
print("\nMe: ", terminator:"")
|
||||
print("\n\nMe: ", terminator:"")
|
||||
}
|
||||
|
||||
print(characterToPrint, terminator:"")
|
||||
@@ -95,6 +95,7 @@ do {
|
||||
observer in
|
||||
|
||||
backgroundRead()
|
||||
return nil
|
||||
}
|
||||
|
||||
pthread_create(&readingThread, nil, pthreadFunc, nil)
|
||||
|
||||
Reference in New Issue
Block a user