From 25600e48fb4321d162c1722498ddd157f0ef5ec4 Mon Sep 17 00:00:00 2001 From: Yeo Kheng Meng Date: Sat, 29 Oct 2016 21:52:06 +0800 Subject: [PATCH] add extra newlines when switching roles for SwiftIMExample --- Examples/SwiftSerialIM/Sources/main.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/SwiftSerialIM/Sources/main.swift b/Examples/SwiftSerialIM/Sources/main.swift index e81ceeb..4f51cb8 100644 --- a/Examples/SwiftSerialIM/Sources/main.swift +++ b/Examples/SwiftSerialIM/Sources/main.swift @@ -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:"")