Skip to content

Creating square brackets #412

Open
Open
@LenniM

Description

@LenniM

Version
2.1.1

Short overview
Not able to create square brackets through "pressKey"-event and "type"-event.

Issue occurs on
This issue occurred on the Windows operating system.

Replication

const { keyboard , Key} = require('@nut-tree/nut-js');

const ret = globalShortcut.register('Up', async () => {

        await keyboard.type(Key.RightBracket)

        // await keyboard.pressKey(Key.RightBracket) --> isn't working either
        // await keyboard.releaseKey(Key.RightBracket) --> isn't working either

})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions