refactor(ssh): Update Terminal page to adapt new copy and paste logic (#1054)

* refactor(ssh): Remove terminal copy button and streamline clipboard functionality

Update dependency versions and remove the copy button from the terminal page, integrating clipboard functionality into the terminal controller.

* refactor(ssh): Optimize clipboard paste functionality implementation

Convert the _OnTerminalPaste method to an asynchronous implementation and remove duplicate _paste methods.

* refactor(ssh): Rename clipboard operation function and add new functionality

Renamed _onTerminalPaste to _onClipboardAction and expanded its functionality

Now supports copying selected text to the clipboard and performing paste operations when no text is selected

* fix: Fixed an issue where clipboard operations did not wait for asynchronous completion.

* fix(ssh): Fixed terminal paste operation return logic

Prevented redundant _onTerminalPaste calls after terminal paste operations
This commit is contained in:
GT610
2026-02-27 21:56:16 +08:00
committed by GitHub
parent ad0ef52f71
commit 8b1326ff64
6 changed files with 76 additions and 78 deletions

View File

@@ -4,8 +4,8 @@ publish_to: "none"
version: 1.0.1316+1316
environment:
sdk: ">=3.9.0"
flutter: ">=3.38.0"
sdk: ">=3.11.0"
flutter: ">=3.41.0"
dependencies:
flutter: