Pake icon indicating copy to clipboard operation
Pake copied to clipboard

Is there a way to disable all shortcut?

Open diggerdu opened this issue 1 year ago • 1 comments
trafficstars

Search before asking

  • [X] 我在 issues 列表中搜索,没有找到类似的内容。 I searched in the issues and found nothing similar.

Motivation

I'm using Pake to build a webshell client. However, the built app processes shortcuts in a way that conflicts with intended functions. For example, pressing Ctrl+R should access the command history of the shell, but instead, it triggers a page refresh.

Solution

No response

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • [x] I'm willing to submit a PR!

diggerdu avatar Apr 27 '24 00:04 diggerdu

Thanks for the feedback, I'll think about whether I can fix it by configuring the parameters. Not currently supported

tw93 avatar Apr 28 '24 06:04 tw93

Please upgrade Pake-cli to the latest version 2.4.0 with the --disabled-web-shortcuts parameter, documentation is available at: https://github.com/tw93/Pake/blob/dev/bin/README.md#disabled-web-shortcuts

tw93 avatar May 09 '24 12:05 tw93