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

repl,readline: improve unicode support and tab completion #31288

Closed

Commits on Jan 10, 2020

  1. readline: improve unicode support and tab completion

    1. This reduces the number of write operations used during tab
       completion.
    2. The tab completion calculated the string width using the length
       of the string instead of using the actual width. That is fixed.
    3. The key decoder is now capable of handling characters composed
       out of two code points. That reduces the number of "keypress"
       events that are emitted which again lowers the amount of writes
       triggered.
    BridgeAR committed Jan 10, 2020
    Copy the full SHA
    a019c62 View commit details
    Browse the repository at this point in the history
  2. repl,readline: code cleanup

    This simplifies code that was more complicated than it had to be
    and removes code that should never be reached.
    BridgeAR committed Jan 10, 2020
    Copy the full SHA
    23c754f View commit details
    Browse the repository at this point in the history