mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 00:56:06 +00:00
reduce hotkey timeout
This commit is contained in:
@@ -122,7 +122,7 @@ export class HotkeysService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const [key, time] of this.pressedKeyTimestamps.entries()) {
|
for (const [key, time] of this.pressedKeyTimestamps.entries()) {
|
||||||
if (time < performance.now() - 5000) {
|
if (time < performance.now() - 2000) {
|
||||||
this.removePressedKey(key)
|
this.removePressedKey(key)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user