Skip to content

Commit b9d2087

Browse files
DaanDeMeyerbehrmann
authored andcommitted
log: Drop konsole hack
You have to configure "Menu->Settings->Configure Konsole... ->General->"Show window title on the titlebar" and then konsole will show the window title as expected, so drop the hack.
1 parent 7fa6eac commit b9d2087

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mkosi/log.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ class ConsoleCodes:
4646

4747
@classmethod
4848
def set_window_title(cls, title: str) -> str:
49-
# The title is set twice, once for all terminal emulators that are not konsole and once for konsole
50-
return f"{cls.OSC}0;mkosi: {title}{cls.ST}{cls.OSC}30;mkosi: {title}{cls.ST}"
49+
return f"{cls.OSC}0;mkosi: {title}{cls.ST}"
5150

5251
@classmethod
5352
def push_window_title(cls) -> str:

0 commit comments

Comments
 (0)