Skip to content

Windows Terminal: Leverage new UI Automation notifications support #13781

@codeofdusk

Description

@codeofdusk

Is your feature request related to a problem? Please describe.

With microsoft/terminal#12358, wt now sends UIA notifications containing new text written to the terminal. To prevent conflict with our existing LiveText implementation, NVDA PR #13261 ignores these notifications. However, replacing LiveText with UIA notifications eliminates NVDA's need to diff the terminal (and possibly the need to listen to textChange events), increasing performance and stability. See related issue #11002 (which is significantly improved when switching to UIA notifications).

Describe the solution you'd like

Consider rethinking how NVDA interacts with Windows Terminal:

  • We no longer need to diff, so don't inherit from LiveText and instead create a new, separate class for these terminals supporting UIA notifications.
  • If we don't react to textChange any more (i.e. stop following the EnhancedTermTypedCharSupport approach), consider a new way to detect when typed characters aren't being echoed to the screen (i.e. don't speak typed passwords).

Describe alternatives you've considered

Make no modifications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/windows-terminalNew terminal app, potentially supersedes app/windows-console (repo: microsoft/terminal)p4https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions