fix #1589: shortcut to copy OTP

This commit is contained in:
antelle 2020-11-11 19:01:12 +01:00
parent a1da5ceabe
commit 9c18e2877b
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
3 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,7 @@ class DetailsView extends View {
);
this.onKey(Keys.DOM_VK_B, this.copyUserName, KeyHandler.SHORTCUT_ACTION);
this.onKey(Keys.DOM_VK_U, this.copyUrl, KeyHandler.SHORTCUT_ACTION);
this.onKey(Keys.DOM_VK_2, this.copyOtp, KeyHandler.SHORTCUT_OPT);
if (AutoType.enabled) {
this.onKey(Keys.DOM_VK_T, () => this.autoType(), KeyHandler.SHORTCUT_ACTION);
}

View File

@ -8,6 +8,7 @@
<div><span class="shortcut">{{cmd}}C</span> {{res 'setShCopyPass'}}</div>
<div><span class="shortcut">{{cmd}}B</span> {{res 'setShCopyUser'}}</div>
<div><span class="shortcut">{{cmd}}U</span> {{res 'setShCopyUrl'}}</div>
<div><span class="shortcut">{{alt}}2</span> {{res 'setShCopyOtp'}}</div>
{{#if autoTypeSupported}}
<div><span class="shortcut">{{cmd}}T</span> {{res 'setShAutoType'}}</div>
{{/if}}

View File

@ -3,6 +3,7 @@ Release notes
##### v1.16.0 (TBD)
`-` fixed a performance issue in searching entries
`*` improved the "Show all file" checkbox behavior
`+` shortcut to copy OTP
##### v1.15.7 (2020-09-12)
`-` fix #1564: broken auto-type on some Linux installations