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,

View File

@@ -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"

View File

@@ -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