From 8cbb48ed67ae4a606c47a4e930334a4d78c732d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lollipopkit=F0=9F=8F=B3=EF=B8=8F=E2=80=8D=E2=9A=A7?= =?UTF-8?q?=EF=B8=8F?= <10864310+lollipopkit@users.noreply.github.com> Date: Mon, 20 Oct 2025 00:56:33 +0800 Subject: [PATCH] feat: support windows clipboard shortcuts (#941) Fixes #902 --- lib/core/utils/server.dart | 4 ++++ pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/core/utils/server.dart b/lib/core/utils/server.dart index 6a5164b9..25b0f535 100644 --- a/lib/core/utils/server.dart +++ b/lib/core/utils/server.dart @@ -96,6 +96,8 @@ Future 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 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, diff --git a/pubspec.lock b/pubspec.lock index c15dae7b..e42bc6b1 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1862,8 +1862,8 @@ packages: dependency: "direct main" description: path: "." - ref: "v4.0.12" - resolved-ref: "7112ec21b752b92c2ee208e1925e8f291f15f1ee" + ref: "v4.0.13" + resolved-ref: "6343b0e5f744d2c11090d34690ad5049ebbc599b" url: "https://github.com/lollipopkit/xterm.dart" source: git version: "4.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index a9ea3bc8..76f39e93 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -49,7 +49,7 @@ dependencies: xterm: git: url: https://github.com/lollipopkit/xterm.dart - ref: v4.0.12 + ref: v4.0.13 computer: git: url: https://github.com/lollipopkit/dart_computer