From 2a5196873aafc2585dc9ac6f2c3308bd91883b09 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Tue, 24 Dec 2019 14:14:06 +0100 Subject: [PATCH] Update comment to remove legacy way of starting kitty Since 9135387cfa141e9ec27271bc41d5b6c43da90197 kitty should not be started with `python3 .` anymore. --- kitty/keys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/keys.py b/kitty/keys.py index 88fae002b..5d6e92c6c 100644 --- a/kitty/keys.py +++ b/kitty/keys.py @@ -387,7 +387,7 @@ def generate_key_table_impl(w): def generate_key_table(): - # To run this, use: python3 . +runpy "from kitty.keys import *; generate_key_table()" + # To run this, use: ./kitty/launcher/kitty +runpy "from kitty.keys import *; generate_key_table()" import os from functools import partial with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'keys.h'), 'w') as f: