serie icon indicating copy to clipboard operation
serie copied to clipboard

Auto-detect Ghostty and Konsole as supporting the Kitty protocol

Open uncenter opened this issue 1 year ago • 9 comments

Follow up of #23, as per my comment: https://github.com/lusingander/serie/issues/10#issuecomment-2263264502.

uncenter avatar Aug 02 '24 12:08 uncenter

Can you share that you actually have the application running? We need to make sure that scrolling, opening details, etc. works properly and then add it to the list of supported terminals.

https://github.com/lusingander/serie?tab=readme-ov-file#compatibility

lusingander avatar Aug 02 '24 12:08 lusingander

Here's with Ghostty. I'll remove Konsole since I can't verify it works there, was just adding it to the list of terminals that support the Kitty protocol specifically since that is verifiable.

https://github.com/user-attachments/assets/c42df496-0189-4434-9817-09cfd443c8cc

uncenter avatar Aug 02 '24 12:08 uncenter

I can verify Konsole works with this PR, see where HEAD is here, and I just used cargo run in a Konsole window:

image

alerque avatar Aug 02 '24 12:08 alerque

Oop awesome, I'll revert that bit of my last commit then!

uncenter avatar Aug 02 '24 12:08 uncenter

~~Hold up, made a mistake with Ghostty detection...~~ Nevermind, forgot I switched branches 😅

uncenter avatar Aug 02 '24 13:08 uncenter

Thanks for checking, could you please share it on the Discussions?

I've created a Discussions page where we can share how the terminal works. It also contains information that we would like to know.

lusingander avatar Aug 03 '24 00:08 lusingander

Once Konsole has been shared on the Discussions or removed from the changes, I will merge this.

lusingander avatar Aug 04 '24 00:08 lusingander

I already went out of my way to test Konsole. Not only does this PR properly detect it (which is the only aspect relevant to the PR in the first place) but while I had it installed and open I checked the visuals and usability and confirmed that it functions properly. I even posted a screen shot while I was at it. I'm not going back and record video, sorry—not sorry. Don't put undue burdens on the contribution process. Clearly what this PR does relevant to Konsole is correct. The terminal is already supported, this just detects which protocol to use as for other terminals which is better than not working at all unless people know to add an extra argument.

alerque avatar Aug 04 '24 06:08 alerque

Would love to get this merged - @lusingander are we alright with Konsole support as demonstrated by @alerque?

uncenter avatar Aug 12 '24 14:08 uncenter