feat: support windows clipboard shortcuts (#941)

Fixes #902
This commit is contained in:
lollipopkit🏳️‍⚧️
2025-10-20 00:56:33 +08:00
committed by GitHub
parent 03720fa322
commit 8cbb48ed67
3 changed files with 7 additions and 3 deletions

View File

@@ -96,6 +96,8 @@ Future<SSHClient> genClient(
username: alterUser ?? spi.user,
onPasswordRequest: () => spi.pwd,
onUserInfoRequest: onKeyboardInteractive,
/// TODO: verify host key
onVerifyHostKey: (type, fingerprint) => true,
// printDebug: debugPrint,
// printTrace: debugPrint,
@@ -110,6 +112,8 @@ Future<SSHClient> genClient(
// Must use [compute] here, instead of [Computer.shared.start]
identities: await compute(loadIndentity, privateKey),
onUserInfoRequest: onKeyboardInteractive,
/// TODO: verify host key
onVerifyHostKey: (type, fingerprint) => true,
// printDebug: debugPrint,
// printTrace: debugPrint,