File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,15 @@ int main() {
16
16
do {
17
17
std::cout << " Enter WebSocket server address:\n " ;
18
18
std::cin >> address;
19
+ std::cout << " \n " ;
19
20
20
21
std::cout << " Enter WebSocket server port:\n " ;
21
22
std::cin >> port;
23
+ std::cout << " \n " ;
22
24
23
25
std::cout << " Enter WebSocket endpoint:\n " ;
24
26
std::cin >> endpoint;
27
+ std::cout << " \n " ;
25
28
26
29
WebSocketClient client (address, port, " /publisher/" + endpoint);
27
30
connectionStatus = client.run ();
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ int WebSocketClient::run() {
136
136
running = false ;
137
137
break ;
138
138
case CLOSE:
139
- std::cout << " Closing websocket connection..." << std::endl;
139
+ std::cout << " Closing websocket connection...\n " << std::endl;
140
140
return 1 ;
141
141
default :
142
142
std::cout << " Unknown command" << std::endl;
You can’t perform that action at this time.
0 commit comments