Comment by tjalfi
4 years ago
Screen reader support[0] may have a noticeable performance cost.
[0] https://github.com/microsoft/terminal/issues/10528#issuecomm...
4 years ago
Screen reader support[0] may have a noticeable performance cost.
[0] https://github.com/microsoft/terminal/issues/10528#issuecomm...
Can you explain how screen reader support could possibly have a noticeable performance cost?
The screen reader code should be doing absolutely nothing if it's not enabled - and even if it is, I can't imagine how it could affect performance anyway. For plain text, such as a terminal, all it does is grab text and parse into words (and then the part where it reads the words, but that's separate from the terminal) - I don't see how this is any more difficult than just taking your terminal's array of cell structs, pulling out the characters into a dynamic array, and returning a pointer to that.