From 3e672ac17809152b9ac1496fffccfb0474a7c843 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 24 Feb 2020 18:42:52 +0530 Subject: [PATCH] Log an error for invalid detach_window arguments --- kitty/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/config.py b/kitty/config.py index d97f4a2c0..51d812cae 100644 --- a/kitty/config.py +++ b/kitty/config.py @@ -96,6 +96,7 @@ def goto_tab_parse(func, rest): @func_with_args('detach_window') def detach_window_parse(func, rest): if rest not in ('new', 'new-tab', 'ask'): + log_error('Ignoring invalid detach_window argument: {}'.format(rest)) rest = 'new' return func, (rest,)