bat-extras icon indicating copy to clipboard operation
bat-extras copied to clipboard

batman: redirect stderr to /dev/null when rendering preview

Open Seas0 opened this issue 1 year ago • 1 comments

To avoid preview being flooded by garbage warnings.

Seas0 avatar Dec 09 '23 13:12 Seas0

Thanks for adding this! I'll need to add tests for a couple of scenarios1 before merging this, but it looks good code wise.

1 Mainly that it doesn't accidentally suppress legitimate warnings and errors.

eth-p avatar Dec 13 '23 18:12 eth-p