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

Clean image preview on set preview! #1350

Merged
merged 1 commit into from
Jul 22, 2023
Merged

Conversation

jdujava
Copy link
Contributor

@jdujava jdujava commented Jul 19, 2023

After calling set preview!, the (ueberzug) image preview is not cleaned (at least in my experience).

I tried to come up with a quick fix, not sure if it the right way though. It seems to work, but maybe there is something I didn't notice, or a smarter way to do it.

Properly clean (`ueberzug`) image preview when disabling it using
for example `set preview!`.

Also change "clearing" to "cleaning" in docs.
Copy link
Collaborator

@joelim-work joelim-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can reproduce the issue on my setup too, and your fix looks good to me. Thanks!

@gokcehan
Copy link
Owner

LGTM as well. Thanks @jdujava for the patch and @joelim-work for the review.

@gokcehan gokcehan merged commit 42c16f1 into gokcehan:master Jul 22, 2023
4 checks passed
@jdujava jdujava deleted the clean-preview branch July 22, 2023 18:03
@gokcehan gokcehan mentioned this pull request Sep 17, 2023
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 this pull request may close these issues.

3 participants