diff --git a/bin/confetty b/bin/confetty index 48c7c96d..69c05e37 100755 --- a/bin/confetty +++ b/bin/confetty @@ -143,10 +143,11 @@ while not doexit: sys.stdout.flush() else: doexit = True + sys.stdout.write("\r\n[remote disconnected]\r\n") break else: input = fh.read() input = check_escape_seq(input, fh) if input: server.sendall(input) - +exit()