Version
"@nut-tree/nut-js": "^1.7.0",
Short overview
I'm running this program:
import * as nut from "@nut-tree/nut-js"
async function main() {
await nut.sleep(2000)
await nut.keyboard.pressKey(nut.Key.LeftSuper, nut.Key.LeftShift, nut.Key.P)
await nut.keyboard.releaseKey(nut.Key.LeftSuper, nut.Key.LeftShift, nut.Key.P)
await nut.keyboard.type("Open Document")
await nut.keyboard.pressKey(nut.Key.Enter)
await nut.keyboard.releaseKey(nut.Key.Enter)
}
main()
And in javascript (Chrome), I'm logging the document keydown events:
document.addEventListener("keydown", event => {
console.log(
"keydown",
event.key,
event.shiftKey,
event.metaKey,
event.altKey,
event.ctrlKey
)
});
And the result: Shift and Meta keys are still held down when typing. Although they turn off after enter...

Issue occurs on
Detailed error description
Steps to reproduce error
Additional content
Please provide any (mandatory) additional data to reproduce the error (Dockerfiles etc.)
Version
Short overview
I'm running this program:
And in javascript (Chrome), I'm logging the document keydown events:
And the result: Shift and Meta keys are still held down when typing. Although they turn off after enter...
Issue occurs on
Detailed error description
Steps to reproduce error
Additional content