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
Merged

Print sixel data to stderr instead of stdout #1451

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.

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