Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making connection on Windows by process ID #491

Open
pawelurbanski opened this issue Jul 18, 2021 · 0 comments
Open

Making connection on Windows by process ID #491

pawelurbanski opened this issue Jul 18, 2021 · 0 comments

Comments

@pawelurbanski
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant