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 the case where reading a line has spaces in it #43

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

scr-oath
Copy link
Collaborator

NOTE: There doesn't seem to be any way of doing it with easier std libs other than bufio Buffer or Scanner, but this is meant to be general.
therefore, it copies part of fmt.Scanln without tokenizing on space.

**NOTE**: There doesn't seem to be any way of doing it with easier std libs other than bufio Buffer or Scanner, but this is meant to be general.
therefore, it copies part of fmt.Scanln without tokenizing on space.
@scr-oath scr-oath requested a review from vadv August 16, 2022 04:16
@vadv vadv merged commit 9318c47 into vadv:master Nov 2, 2022
@scr-oath scr-oath deleted the fix-line-reader-with-spaces branch November 6, 2022 02:57
luevano pushed a commit to luevano/mangal-lua-libs that referenced this pull request Jun 2, 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.

2 participants