Skip to content

Correct presenter and TTY documentation - #150

Open
OskarEichler wants to merge 1 commit into
ku1ik:masterfrom
OskarEichler:codex/rainbow-readme-accuracy
Open

Correct presenter and TTY documentation#150
OskarEichler wants to merge 1 commit into
ku1ik:masterfrom
OskarEichler:codex/rainbow-readme-accuracy

Conversation

@OskarEichler

Copy link
Copy Markdown

Summary

Correct two README statements to match the runtime behavior:

  • Enabled presenter formatting methods return a new Rainbow::Presenter, which is why calls can be chained; they do not return self.
  • Automatic terminal detection checks STDOUT and STDERR, not STDIN and STDERR.

Verification

Confirmed against Presenter#wrap_with_sgr and the initialization conditions in lib/rainbow.rb. git diff --check passes. Documentation only; no runtime, dependency or test changes.

Compatibility

No breaking change.

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