What is Nostr?
Richard Schneeman /
npub1tjf…8266
2024-12-01 19:00:12

Richard Schneeman on Nostr: Do you have tips for driving IRB as a background process through STDIN and writing ...

Do you have tips for driving IRB as a background process through STDIN and writing outputs to a file?

I basically want to automate some tutorials that include showing how things should look in the irb REPL including the prompts and interface. But as soon as I run it without a TTY the styles all change and I’m not sure if there’s a combination of flags/settings to get them looking the same again.

Basically trying to get these outputs to match closer: https://gist.github.com/schneems/88223a7df82795922fdc1e8e1b47bfc0
Author Public Key
npub1tjf3426t659w7x8yl44z2l948wmslmsp2pnta2gs9tp84r3rpawqfx8266