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

Fix wrong termios save code #1

Merged
merged 1 commit into from
Apr 18, 2022
Merged

Commits on Jun 17, 2021

  1. Fix wrong termios save code

    This bug is introduced by 20e0658.
    Saving a *unix.Termios and then modifying it in SetRaw() makes the
    saved state useless.
    
    By restoring saveTermios type from *unix.Termios to unix.Termios,
    SetRaw() no longer influences the saved termios.
    
    This should fix c-bata#228 and c-bata#233 .
    
    Signed-off-by: Xiami <i@f2light.com>
    Xiami authored and Xiami2012 committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    566a3e3 View commit details
    Browse the repository at this point in the history