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

Tried out image preview in tmux using kitty #1143

Closed
jackielii opened this issue Mar 9, 2023 · 1 comment
Closed

Tried out image preview in tmux using kitty #1143

jackielii opened this issue Mar 9, 2023 · 1 comment

Comments

@jackielii
Copy link
Contributor

jackielii commented Mar 9, 2023

Today I tried out lf with:

kitty: nightly at kovidgoyal/kitty@31d8a98
tmux: 3.3a

It looks like this

Screen.Recording.2023-03-09.at.14.05.17.mov

A couple of issues still exists:

  1. When switching to the image, the font changes (from 22s in the clip). I suspect this is an issue in kitty nightly.
    Somehow kitty nightly increases the font weight by 1. I.e. I use to use Fira Code Medium, but now I have to use Fira Code Regular to have the same effect
  2. "loading..." text is not cleared and overlays on top of the image
  3. The preview doesn't clear properly. The info is ok through. (See my dotfiles1 for the mapping)
  4. I had to decrease the size by one in order to have the image fit the screen. Maybe it's because lf didn't take the border into account? Also see 1 for details
@jackielii
Copy link
Contributor Author

This belongs to a discussion, moving to: #1153

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

No branches or pull requests

1 participant