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(tui): Pass in the context's stdin #1512

Merged

Conversation

nderjung
Copy link
Member

@nderjung nderjung commented Apr 4, 2024

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran make fmt on your commit series before opening this PR;
  • Updated relevant documentation.

Description of changes

This commit fixes an issue where input would not be recognised since the stdin was set to nil. Occassionally (likely after successive calls to TUI programs), this would result in the TUI programs to become unresponsive to Ctrl+C.

See: #1507

@craciunoiuc
Copy link
Member

image

@nderjung
Copy link
Member Author

nderjung commented Apr 5, 2024

@craciunoiuc yeah i have no idea actually.

@nderjung
Copy link
Member Author

nderjung commented Apr 5, 2024

Cool thanks, I know how to solve then.

This commit fixes an issue where input would not be recognised
since the stdin was set to nil.  Occassionally (likely after
successive calls to TUI programs), this would result in the
TUI programs to become unresponsive to Ctrl+C.

See: unikraft#1507

Signed-off-by: Alexander Jung <alex@unikraft.io>
@nderjung nderjung force-pushed the nderjung/fix/tui/uncancellable branch from 8b5cc97 to 7a162da Compare April 5, 2024 07:53
Copy link
Member

@craciunoiuc craciunoiuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good here. Thanks!

Reviewed-by: Cezar Craciunoiu cezar.craciunoiu@unikraft.io
Approved-by: Cezar Craciunoiu cezar.craciunoiu@unikraft.io

@craciunoiuc craciunoiuc merged commit eb7cd6c into unikraft:staging Apr 5, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants