mirror of https://github.com/keeweb/keeweb
fix #1409: fixed auto-typing Tab character on Debian
parent
8de55c450a
commit
aa899b8096
|
@ -95,16 +95,21 @@ AutoTypeEmitter.prototype.text = function(text) {
|
|||
};
|
||||
|
||||
AutoTypeEmitter.prototype.key = function(key) {
|
||||
if (typeof key !== 'number') {
|
||||
const isSpecialKey = typeof key !== 'number';
|
||||
if (isSpecialKey) {
|
||||
if (!KeyMap[key]) {
|
||||
return this.callback('Bad key: ' + key);
|
||||
}
|
||||
key = KeyMap[key].toString(16);
|
||||
key = KeyMap[key].toString();
|
||||
}
|
||||
this.pendingScript.push(
|
||||
'key --clearmodifiers ' + this.windowParameter + this.modString() + key
|
||||
);
|
||||
this.callback();
|
||||
if (isSpecialKey) {
|
||||
this.waitComplete();
|
||||
} else {
|
||||
this.callback();
|
||||
}
|
||||
};
|
||||
|
||||
AutoTypeEmitter.prototype.copyPaste = function(text) {
|
||||
|
|
|
@ -15,6 +15,7 @@ Release notes
|
|||
`-` fix #620: clearing middle-click clipboard in Linux
|
||||
`-` fix #1440: fixed auto-type for maximized windows
|
||||
`-` fix #1509: fixed auto-type for tiling mode in Linux
|
||||
`-` fix #1409: fixed auto-typing Tab character on Debian
|
||||
|
||||
##### v1.14.3 (2020-05-15)
|
||||
`*` improved exporting files with markdown notes
|
||||
|
|
Loading…
Reference in New Issue