 	}
 	
 	func printPrompt() {
-		print("\n> ", appendNewline: false)
+		print("\n> ", terminator: "")
 	}
 	
 	func promptForSerialPort() {

	}
	
	func promptForBaudRate() {
		print("\nPlease enter a baud rate: ", appendNewline: false);
	}
}


			switch self.currentState {
			case .WaitingForPortSelectionState(let availablePorts):
				if !setupAndOpenPortWithSelectionString(string, availablePorts: availablePorts) {
					print("\nError: Invalid port selection.", terminator: "")
					prompter.promptForSerialPort()
					return
				}
			case .WaitingForBaudRateInputState:
				if !setBaudRateOnPortWithString(string) {
					print("\nError: Invalid baud rate. Baud rate should consist only of numeric digits.", terminator: "")
					prompter.promptForBaudRate();
					return;
				}
