Open MIJOTHY opened 6 years ago
This is expected when trying to run tmux inside kitty and unrelated to this project. Neither tmux not kitty seem interested in doing anything about it.
https://sw.kovidgoyal.net/kitty/faq/?highlight=tmux#i-am-using-tmux-and-have-a-problem
Renders fine outside of tmux, but both image (jpg) and pdfs fail to render (after measuring has successfully occured). Example below is for the start of a pdf file:
Forcing -kitty rendering results in the following:
However, running terminal_dimensions returns the correct values.
As an aside, very cool tool! To get it working on Ubuntu 16.04, I had to take a couple of extra steps to get it to play nice with some PDF files (which may or may not be worth mentioning in the readme; happy to do a PR). It seems ubuntu's ghostscript package doesn't link with freetype anymore, so I had to download the latest ghostscript and replace my
gs
file in/usr/bin
with the downloaded file.