Repository navigation
Put MXP images and sounds in their T= directory, and keep a short extended colour's components - #81
Merged
Conversation
…ended colour's components MXP IMAGE and SOUND appended the file to URL= (U=) but dropped T=, which the specification puts between them. SGR 38;2;40 left the 40 to be read as a black background. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7TnKiMidjBirFcUqtL
|
Caution Review failedThe pull request is closed. WalkthroughThe changes update MXP image and sound source paths to include the optional ChangesMXP Media Addresses
Truncated SGR Colours
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Merge Risk:
|
HarryCordewener
marked this pull request as ready for review
November 7, 2026 00:27
HarryCordewener
pushed a commit
that referenced
this pull request
Nov 7, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7WA8C5XG14TAWB6b9V
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Requested by Grave · project thread
Two things SharpClient's old parser did that 2.26.0's decoder does not, found while moving SharpClient onto the decoder.
T=.<IMAGE map.png URL="https://h/img/" T=maps>decoded tohttps://h/img/map.png. The MXP spec appends the class name to the URL before the file name, so it is nowhttps://h/img/maps/map.png.SOUND/MUSICtakeT=the same way underU=. Without a base address the file is left as it is.\e[31;38;2;40mread the trailing40as SGR 40 (black background). The components of a truncated38;2/48;2are now consumed with it, and the colour is left as it was.Docs (
docs/decoding.md) and the changelog (## Unreleased) are updated.MarkupString.Tests: 1527 passed, 0 failed.SharpClient needs both for its port, so it will reference the release that carries this (2.26.1 if you tag it as a patch).
Generated by Claude Code
Summary by CodeRabbit