News for hackers. Stuff that matters.
Re:Computer input latency from 1977-2017 (2017) by mdoms on Thursday December 03, 2020 @12:22PM (#25291484)
Yeah, I'm far from an expert on rendering and latency, but presumably game developers put a ton of effort into ensuring that the pixels are pushed with as little input latency as possible. This may not have been a priority for Microsoft in their terminal.
Re:Computer input latency from 1977-2017 (2017) by zeusk on Thursday December 03, 2020 @12:32PM (#25291658)
The whole Terminal code is open source

https://github.com/microsoft/terminal/blob/main/src/renderer...

The first comment in this function (DxEngine::StartPaint), for example:

    // If retro terminal effects are on, we must invalidate everything for them to draw correctly.
    // Yes, this will further impact the performance of retro terminal effects.
    // But we're talking about running the entire display pipeline through a shader for
    // cosmetic effect, so performance isn't likely the top concern with this feature.
Re:Computer input latency from 1977-2017 (2017) by colejohnson66 on Thursday December 03, 2020 @01:00PM (#25292104)
What is with the formatting on that file? Is seems like every other line of code has no indentation.
Re:Computer input latency from 1977-2017 (2017) by renewiltord on Thursday December 03, 2020 @03:15PM (#25294121)
What do you mean? It looks normal to me. Do you mean the blocks here? https://github.com/microsoft/terminal/blob/main/src/renderer...
Re:Computer input latency from 1977-2017 (2017) by mdoms on Thursday December 03, 2020 @12:39PM (#25291763)
Nice find!