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

Opening with associated program may write over TUI #14

Closed
Emerentius opened this issue Jun 16, 2019 · 1 comment
Closed

Opening with associated program may write over TUI #14

Emerentius opened this issue Jun 16, 2019 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Emerentius
Copy link

When using Ctrl + O to open the file, the associated program may write over the TUI. I've attached a screenshot of what happens with Nautilus. VLC does a similar thing.

garbage

I've used this workaround: Resize terminal, scroll, resize back and scroll again, but that's bothersome. It's probably best to suppress the output completely.

@ghost ghost added bug Something isn't working help wanted Extra attention is needed labels Jun 16, 2019
@ghost
Copy link

ghost commented Jun 16, 2019

Thanks for the screenshot! This can be fixed in open-rs, and I linked the issue for it. I thought it would be easiest to provide something like open::that_with(|c| c.stdout(Stdio::Null).stderr(Stdio::Null)) - the latter new API could then be used by DUA to suppress everything or... redirect it into a buffer to show in the message slot.

@ghost ghost closed this as completed in 473ac20 Jul 3, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant