Skip to content

Making connection on Windows by process IDΒ #491

@pawelurbanski

Description

@pawelurbanski

Hi Everyone,
I did some research, looked through the test files and an issue about Windows connection over named pipes. Unfortunately, I still do not know how to approach the following case:

  • I am developing a screen reader add-on that will improve interaction,
  • I need to connect to the launched instance of Neovim in the TUI mode,

I could ask the users to make some configuration changes, but maybe it is not required, for the screen reader API returns the following information:

appModule: <'nvim' (appName 'nvim', process ID 10092) at address 43c3db0>

As you can see, I get the process ID and so on. Here are my ideas and questions:

  • Can I use the process ID to connect to this particular instance,
  • It is the instance launched by the user with the screen reader add-on/module attached,
  • What would be the code to connect to this session?
  • How can I query and get notified of Neovim mode changes?

The rational for this add-on is the following:

  • Screen readers work in a similar manner as VIM: browse/focus modes like normal/insert modes,
  • When VIM is in normal mode the commands change the caret and/or selection, but the screen reader is not notified,
  • I need to know what is the current VIM mode so I can write screen reader scripts to query for text changes,

Thank you in advance for any help and feedback...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions