🐛 Print user messages to stderr (#27)
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
Previously, any messages only intended for the user (status messages, warnings, errors) were sent over stdout. The actual emoji items are also sent to the pickers over stdout so they would sometimes pick up the messages and show them as an option to pick. If history is enabled, we then also save the falsely included items there to forever display as an option. This commit changes internal messages to all be sent over stderr instead, so they should not be picked up by any external programs we hand off to.
This commit is contained in:
parent
7b5b3e6e46
commit
e14010eb53
3 changed files with 56 additions and 7 deletions
|
|
@ -38,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
- Always download from newest emoji list url
|
||||
- Pass selection to custom typing tools through stdin
|
||||
- Pass info messages to stderr to avoid passing to picker tools
|
||||
|
||||
<!-- ### Security -->
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue