Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Ability to register specific shortcuts with Binary server #6

Open
@sancarn

Description

@sancarn

Current Concerns

  • Node appears to try to optimise stdin flush calls which could mean that a node process goes beyond the 100ms timeout set on the key server.
  • If node is undergoing a heavy ioblocking process key events will be lost to a timeout, instead of being captured by the node process.

It'd be nice to deal with incoming key events as fast as possible, especially if we know what should be captured and what shouldn't be ahead of time..

This enhancement is to request a special utility be added to the Windows/Mac servers:

  public addListener(shortcut: VKey[], callback: ()=>void){
    //implementation to be determined
  }

Options to consider:

  • Build this into the current binaries (Will likely require an extensive re-write, with some kind of serialised structure messaging across the stdio)
  • Build this into seperate binaries (This is more overhead but this would make things a lot simpler)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions