Skip to content

Print sixel data to stderr instead of stdout#1451

Merged
gokcehan merged 1 commit into
gokcehan:masterfrom
joelim-work:fix-sixel-lfcd
Oct 22, 2023
Merged

Print sixel data to stderr instead of stdout#1451
gokcehan merged 1 commit into
gokcehan:masterfrom
joelim-work:fix-sixel-lfcd

Conversation

@joelim-work

Copy link
Copy Markdown
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
Copy Markdown
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