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

pty: immediately render after a period of inactivity #798

Merged
merged 1 commit into from
Oct 25, 2021

Commits on Oct 22, 2021

  1. pty: immediately render after a period of inactivity

    The current code waits for 30ms after reading new data to refresh the
    screen in order to batch input together. This reduces the number of
    refreshes, but also adds perceptible latency as keystrokes will only get
    visual feedback after a 30 ms delay.
    
    Improve this by immediately refreshing if more than 30ms have already
    passed since the last refresh. That way punctual events like keystrokes
    get immediate feedback, while heavier input still gets batched together.
    Gnurou committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    af42107 View commit details
    Browse the repository at this point in the history