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

Support EOF in interactive mode #267

Merged
merged 2 commits into from
May 5, 2024
Merged

Conversation

EricLBuehler
Copy link
Owner

@EricLBuehler EricLBuehler commented May 5, 2024

Resolves the issue reported in #266 by allowing piping data into interactive mode.

New behavior: if the input received by read_line is empty (there was an EOF) then interactive mode is stopped.

Copy link

github-actions bot commented May 5, 2024

Code Metrics Report
  ───────────────────────────────────────────────────────────────────────────────
Language                 Files     Lines   Blanks  Comments     Code Complexity
───────────────────────────────────────────────────────────────────────────────
Rust                        72     23860     1572       530    21758       1324
───────────────────────────────────────────────────────────────────────────────
Total                       72     23860     1572       530    21758       1324
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop 85,638
Estimated Schedule Effort 11.915993 months
Estimated People Required 5.111883
───────────────────────────────────────────────────────────────────────────────
Processed 793303 bytes, 0.793 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────
  

@EricLBuehler EricLBuehler merged commit 44c2847 into master May 5, 2024
11 checks passed
@EricLBuehler EricLBuehler deleted the interactive_mode_eof branch May 5, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant