From 10ca74f502c7ea9af9f0f5ce64ff6eb07f7e59db Mon Sep 17 00:00:00 2001 From: Jackie Li Date: Thu, 18 Jan 2024 09:07:53 +0000 Subject: [PATCH] fix typo and add a couple examples --- kitty/boss.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/kitty/boss.py b/kitty/boss.py index 12f34a117..6199a16f8 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -1712,10 +1712,14 @@ class Boss: this is useful if focus is not on any kitty OS window at all, however, it will only work if the window manager allows applications to grab focus. For example:: - # focus the previously active OS window - map ctrl+p nth_window -1 - # focus the first OS window - map ctrl+1 nth_window 0 + # focus the previously active kitty OS window + map ctrl+p nth_os_window -1 + # focus the current kitty OS window (grab focus) + map ctrl+0 nth_os_window 0 + # focus the first kitty OS window + map ctrl+1 nth_os_window 1 + # focus the last kitty OS window + map ctrl+1 nth_os_window 999 ''') def nth_os_window(self, num: int = 1) -> None: if not self.os_window_map: