From a644e4c31e4c89611638f4e34ac2a9d812e40d95 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 19 Jun 2018 10:10:39 +0200 Subject: [PATCH] Support "-T" as an alias for "--title". Thank you for developing Kitty. Currently kitty is not available on the list of "alternatives" for a terminal emulator on Debian GNU/Linux and derivatives. This is because Debian Policy states that packages that provide a terminal emulator must provide, inter alia, support the command-line option -T title, which creates a new terminal window with the specified window title [0]. This PR therefore adds -T as an alias for --title, thus bringing kitty into compliance and allowing cleaner integration into the Debian desktop. This issue was originally filed as #900704. [0] https://www.debian.org/doc/debian-policy/#packages-providing-a-terminal-emulator [1] https://bugs.debian.org/900704 Signed-off-by: Chris Lamb --- kitty/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/cli.py b/kitty/cli.py index ce51e0293..2ba24c652 100644 --- a/kitty/cli.py +++ b/kitty/cli.py @@ -44,7 +44,7 @@ condition=not is_macos Set the name part of the :italic:`WM_CLASS` property (defaults to using the value from :option:`{appname} --class`) ---title +--title -T Set the window title. This will override any title set by the program running inside kitty. So only use this if you are running a program that does not set titles.