From 9caa6bb306b33ddc83d18b6bf4036c8cc3e24c22 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 19 Jan 2022 14:32:03 +0530 Subject: [PATCH] Nicer event printing --- kitty/debug_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/debug_config.py b/kitty/debug_config.py index e64b0cb06..2ba413bc0 100644 --- a/kitty/debug_config.py +++ b/kitty/debug_config.py @@ -42,7 +42,7 @@ def title(x: str) -> str: def print_event(ev: AnyEvent, defn: str, print: Print) -> None: - print('\t' + ev.human_repr, defn) + print(f'\t{ev.human_repr} → {defn}') def print_mapping_changes(defns: Dict[AnyEvent, str], changes: Set[AnyEvent], text: str, print: Print) -> None: