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

tcsetattr breaks terminal #16

Closed
bpereto opened this issue Jun 14, 2017 · 0 comments
Closed

tcsetattr breaks terminal #16

bpereto opened this issue Jun 14, 2017 · 0 comments

Comments

@bpereto
Copy link
Contributor

bpereto commented Jun 14, 2017

Hi,

the commit introduced in #14 breaks the terminal with shifted lines.
Afterwards, no input to the terminal is displayed.

./ykfde -S
Please give current second factor:
  Failed setting terminal attributes.
                                     loaded device: luks-2e8cb1b1-8854-4838-a524-fa7573aeda52 
              loaded device: luks-7dcfeca3-15c1-4a33-8167-05428fcee703 
                                                                       Failed requesting key. That's ok if you do not use
                                         second factor. Give it manually if required.

Failed setting terminal attributes shows up at

if (tcsetattr(STDIN_FILENO, TCSANOW, &tp_save) < 0) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant