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

Print sixel data to stderr instead of stdout #1451

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

joelim-work
Copy link
Collaborator

Currently, sixel data is written to stdout, which interferes with command substitution, for example cd $(lf -print-last-dir). This PR changes the code to print the sixel data to stderr instead.

@gokcehan
Copy link
Owner

@joelim-work Looks good, thanks for the patch.

@gokcehan gokcehan merged commit 9ab2c2e into gokcehan:master Oct 22, 2023
4 checks passed
@joelim-work joelim-work deleted the fix-sixel-lfcd branch October 22, 2023 23:37
@gokcehan gokcehan mentioned this pull request Mar 31, 2024
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.

Using lf with cd on exit and show preview images?
2 participants