Skip to content

Conversation

@jcgl17
Copy link
Contributor

@jcgl17 jcgl17 commented Oct 22, 2025

Commit f26cb34 introduced some OSC escape sequences that resulted in all mkosi output being hidden when using the Kitty terminal: kovidgoyal/kitty#9139

This commit rectifies the situation by correctly sending the ST code after OSC has been sent, thereby ending the OSC sequence.

image

Ref:

Commit f26cb34 introduced some OSC escape sequences that resulted in
all mkosi output being hidden when using the Kitty terminal:
kovidgoyal/kitty#9139

This commit rectifies the situation by correctly sending the <ST> code
after <OSC> has been sent, thereby ending the OSC sequence.

Ref:
- https://en.wikipedia.org/wiki/ANSI_escape_code#Operating_System_Command_sequences
- https://sw.kovidgoyal.net/kitty/shell-integration/#notes-for-shell-developers
- https://ghostty.org/docs/vt/concepts/sequences#osc-sequences
@behrmann
Copy link
Contributor

Thanks for the contribution. @DaanDeMeyer already saw your issue against kitty and I put up #3973 earlier to fix this. It also fixes a bit more, since during testing I noticed that konsole behaves a bit weirdly there. Could you see whether #3973 fixes this for you?

@jcgl17
Copy link
Contributor Author

jcgl17 commented Oct 22, 2025

I totally missed your fix! Looks like I should've checked before opening this PR. Yeah, your #3973 fixes the problem for me too. Thanks much.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants