Skip to content

Creating square brackets #412

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

})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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