Skip to content

Show the startup banner only when stdin is a tty - #1238

Open
simi wants to merge 1 commit into
ruby:masterfrom
RubyElders:tty-banner
Open

Show the startup banner only when stdin is a tty#1238
simi wants to merge 1 commit into
ruby:masterfrom
RubyElders:tty-banner

Conversation

@simi

@simi simi commented Aug 22, 2026

Copy link
Copy Markdown

The banner was printed for any exe/irb run without a script argument, so piped sessions like echo '1+1' | irb got it on stdout. The tip line is picked at random, which also made that output differ between runs.

The banner was printed for any `exe/irb` run without a script argument, so
piped sessions like `echo '1+1' | irb` got it on stdout. The tip line is picked
at random, which also made that output differ between runs.
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