Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

observeCurrentKeyboardLayout not working when invoke by node #38

@chemzqm

Description

@chemzqm

I have code

const KeyboardLayout = require('keyboard-layout')

let subscription = KeyboardLayout.observeCurrentKeyboardLayout((layout) => console.log(layout))

and run node test.js
I can get the output after first run, but no more when I change keyboard layout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions