Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

后台模式bug #2

Closed
Chanyon opened this issue Feb 13, 2023 · 7 comments
Closed

后台模式bug #2

Chanyon opened this issue Feb 13, 2023 · 7 comments

Comments

@Chanyon
Copy link
Contributor

Chanyon commented Feb 13, 2023

bug: 后台模式,使用快捷键不能弹出翻译显示界面。
操作系统: win10

@fzdwx
Copy link
Owner

fzdwx commented Feb 13, 2023

没有 windows 操作系统,手上只有 linux

你可以描述下大概是什么 bug? 默认快捷键是 ctrl+alt+c https://github.com/fzdwx/popup-translation/blob/main/src/main.rs#L65

@Chanyon
Copy link
Contributor Author

Chanyon commented Feb 13, 2023

简单描述:启动powershell,输入fanyi,选中要翻译的文字,使用ctrl+alt+c

@fzdwx
Copy link
Owner

fzdwx commented Feb 13, 2023

要复制,是从粘贴板上读取的


目前还不知道怎么支持 读取选中文本 的功能

@Chanyon
Copy link
Contributor Author

Chanyon commented Feb 13, 2023

复制快捷键翻译没问题。

@Chanyon Chanyon closed this as completed Feb 13, 2023
@Chanyon Chanyon reopened this Feb 13, 2023
@Chanyon
Copy link
Contributor Author

Chanyon commented Feb 13, 2023

[Windows下获取鼠标当前选中文字]
https://blog.xenori.com/2021/05/get-selected-text-in-windows/

@fzdwx
Copy link
Owner

fzdwx commented Feb 13, 2023

老哥,要不你帮忙试着改改 : )

@fzdwx
Copy link
Owner

fzdwx commented Feb 13, 2023

linux 上我已经实现了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants