diff --git a/Sources/SupersignCLISupport/AuthCommand.swift b/Sources/SupersignCLISupport/AuthCommand.swift index b603f91c..5b9439e0 100644 --- a/Sources/SupersignCLISupport/AuthCommand.swift +++ b/Sources/SupersignCLISupport/AuthCommand.swift @@ -29,6 +29,8 @@ struct AuthOperation { throw Console.Error("Password cannot be empty.") } + print("Logging in...") + let deviceInfo = try DeviceInfo.fetch() let provider = try ADIDataProvider.adiProvider( diff --git a/Sources/SupersignCLISupport/Console.swift b/Sources/SupersignCLISupport/Console.swift index ac0ec87a..ba597e36 100644 --- a/Sources/SupersignCLISupport/Console.swift +++ b/Sources/SupersignCLISupport/Console.swift @@ -25,6 +25,8 @@ enum Console { try await withStdio { stdin, stdout in try await stdout.write(ByteBuffer(bytes: message.utf8)) + fflush(stdoutSafe) + var data = Data() for try await chunk in stdin { let view = chunk.readableBytesView