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] Do not consume std::cin in interactive mode. #169

Merged
merged 2 commits into from
Jan 13, 2023

Conversation

smehringer
Copy link
Member

@smehringer smehringer commented Jan 12, 2023

Related to #124. Formerly, if in interactive mode, the version_check swallows the first line of you input 💀

Remaining problem (but I think less bad):
If in interactive mode with stdin, the first char of your stdin answers to the question of the version checker..

@vercel
Copy link

vercel bot commented Jan 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
sharg-parser ✅ Ready (Inspect) Visit Preview Jan 12, 2023 at 0:55AM (UTC)

@seqan-actions seqan-actions added the lint [INTERNAL] signals that clang-format ran label Jan 12, 2023
@seqan-actions seqan-actions removed the lint [INTERNAL] signals that clang-format ran label Jan 12, 2023
@codecov
Copy link

codecov bot commented Jan 12, 2023

Codecov Report

Base: 92.28% // Head: 92.28% // No change to project coverage 👍

Coverage data is based on head (d2a3894) compared to base (8d0ee72).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #169   +/-   ##
=======================================
  Coverage   92.28%   92.28%           
=======================================
  Files          16       16           
  Lines        1439     1439           
=======================================
  Hits         1328     1328           
  Misses        111      111           
Impacted Files Coverage Δ
include/sharg/detail/version_check.hpp 52.80% <ø> (ø)
include/sharg/detail/terminal.hpp 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@seqan-actions seqan-actions added the lint [INTERNAL] signals that clang-format ran label Jan 12, 2023
@seqan-actions seqan-actions removed the lint [INTERNAL] signals that clang-format ran label Jan 12, 2023
Copy link
Contributor

@SGSSGene SGSSGene left a comment

Choose a reason for hiding this comment

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

This is a lot better!

@eseiler eseiler merged commit e7e9556 into seqan:main Jan 13, 2023
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.

4 participants