Skip to content

Commit 999f0e2

Browse files
committed
Force a newline to display the swiftly prompts for user input
1 parent ca7aeb7 commit 999f0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftlyCore/SwiftlyCore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public protocol InputProvider {
4545
public var inputProvider: (any InputProvider)?
4646

4747
public func readLine(prompt: String) -> String? {
48-
print(prompt, terminator: ": ")
48+
print(prompt, terminator: ": \n")
4949
guard let provider = SwiftlyCore.inputProvider else {
5050
return Swift.readLine(strippingNewline: true)
5151
}

0 commit comments

Comments
 (0)