fix incorrect state reset after carriage return command #2785
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
i ran into an issue with
ncsixel_as_rgba
where it always failed with sixel images exceeding 13 pixels in heightthe cause of the issue seems to be
this prevents sixel images from being correctly parsed -- i haven't investigated what the sixel standard says about this, but
img2sixel
outputs don't follow carriage returns with a hash, just more datachanging
STATE_WANT_HASH
toSTATE_WANT_DATA
resolved the issuein any case, i don't think this change is likely to break anything:
as if a hash is encountered, it will just decrement the pointer and set the state to
STATE_WANT_HASH