-
Hey everyone, I'm trying to create a simple python script that prints twitch chats in my terminal, so far it's working, including rendering emotes, using an example script from the Kitty documentation, but I haven't had any luck figuring out how to stop the script adding line breaks after each rendered image, which breaks up messages onto multiple lines. Any suggestions would be appreciated. Here is the script I'm currently using; I think all I changed was related to allowing it to handle image URLs.
|
Beta Was this translation helpful? Give feedback.
Answered by
v4u6h4n
Apr 18, 2024
Replies: 1 comment 1 reply
-
Add C=1 to the graphics command then the cursor will not move when
displaying the image. It's up to you to position the cursor correctly
after that.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey I recognise you! Your the calibre guy, what are you doing here lol
Thanks for the help, I'll have a play and see what I can do :-)
UPDATE:
It doesn't seem to effect the lines breaks, I'm looking through documentation, it seems like r=1 did the trick. If I use c=1, it squishes the image, so I have to figure out how to get the width of the image and make c equal that width.