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

tui: Only query keyboard enhancement support once #6160

Closed

Commits on Mar 2, 2023

  1. tui: Only query keyboard enhancement support once

    We query the host terminal emulator to check whether it supports the
    keyboard enhancement protocol after entering raw mode on startup. We
    only need to check this value once though, so we can store the result
    in a OnceCell to prevent repeated queries. The query for keyboard
    enhancement support times out and fails when suspending (C-z) and
    resuming (`fg`) which can cause delays and leaves sequences in the
    terminal after Helix suspends or exits. Caching in the OnceCell
    prevents this behavior.
    the-mikedavis committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    38bde5f View commit details
    Browse the repository at this point in the history