Closed ideasman42 closed 3 months ago
When looking to replace wofi/dmenu with yofi I ran into a problem.
yofi dialog is always printing a warning which interferes with the stdout - used to receive the output of the command.
yofi dialog
stdout
{options} | yofi dialog
Should output selected_menu_item, instead it outputs a warning, then the menu item.
selected_menu_item
e.g.
2024-06-23T00:36:18.346367550Z[yofi::window::compositor][WARN] unexpected transform_changed selected_menu_item
Ideally any warnings should output to the stderr, so the stdout can be relied on for intended output.
Tested with 2.2 stable and my own build of: 0d7af4653fa8f119a4aee0b7981edc88a6c7e892.
When looking to replace wofi/dmenu with yofi I ran into a problem.
yofi dialog
is always printing a warning which interferes with thestdout
- used to receive the output of the command.{options} | yofi dialog
Should output
selected_menu_item
, instead it outputs a warning, then the menu item.e.g.
Ideally any warnings should output to the stderr, so the stdout can be relied on for intended output.
Tested with 2.2 stable and my own build of: 0d7af4653fa8f119a4aee0b7981edc88a6c7e892.