faho marked this pull request as ready for review
August 12, 2023 15:56Turns out doing `==` on Enums with values will do a deep comparison, including the values. So EventDescription::Signal(SIGTERM) is != EventDescription::Signal(SIGWINCH). That's not what we want here, so this does a bit of a roundabout thing.
This encapsulates a "is our output going to the terminal" check we do in a few places - functions, type, set_color, possibly test
faho deleted the riir-functions-2 branch
August 13, 2023 12:17
github-actions
Bot
locked as resolved and limited conversation to collaborators