Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings interfere with "dmenu" style usage #165

Closed
ideasman42 opened this issue Jun 23, 2024 · 0 comments · Fixed by #166
Closed

Warnings interfere with "dmenu" style usage #165

ideasman42 opened this issue Jun 23, 2024 · 0 comments · Fixed by #166

Comments

@ideasman42
Copy link

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.

{options} | yofi dialog

Should output selected_menu_item, instead it outputs a warning, then the 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: 0d7af46.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant