Skip to content

Tried out image preview in tmux using kitty #1143

Closed
@jackielii

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions