mirror of
https://github.com/xtool-org/xtool.git
synced 2026-11-16 12:31:40 +03:00
Fix password prompt feedback
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user