Skip to content

[codex] refactor(vt): move color encoding to internal vt#33

Merged
tonyfettes merged 2 commits into
mainfrom
move-color-to-vt
Jun 15, 2026
Merged

[codex] refactor(vt): move color encoding to internal vt#33
tonyfettes merged 2 commits into
mainfrom
move-color-to-vt

Conversation

@tonyfettes

Copy link
Copy Markdown
Contributor

Summary

  • Move semantic color-to-SGR byte encoding from root style.mbt into internal/vt.
  • Keep root Tty color command methods as the public API and delegate byte generation to internal/vt.
  • Move public Tty behavior coverage from tty_wbtest.mbt to black-box tty_test.mbt, leaving private State invariants in white-box tests.

Validation

  • moon fmt
  • moon test internal/vt
  • moon test .
  • moon test
  • moon check
  • moon info
  • git diff --check

@tonyfettes tonyfettes marked this pull request as ready for review June 15, 2026 05:53
@tonyfettes tonyfettes merged commit c70f86c into main Jun 15, 2026
3 checks passed
@tonyfettes tonyfettes deleted the move-color-to-vt branch June 15, 2026 05:57
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.

1 participant