From c9b8510e9c562c51b30596e6118d0643b6af231d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 28 Nov 2019 09:23:08 +0530 Subject: [PATCH] Also use ascending order for os window selection --- kitty/boss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/boss.py b/kitty/boss.py index a1fe3a093..08d0aec1e 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -1258,5 +1258,5 @@ class Boss: self._move_tab_to(tab=target_tab, target_os_window_id=os_window_id) self._run_kitten( - 'hints', args=('--type=regex', r'--regex=(?m)^\d+ .+$',), + 'hints', args=('--ascending', '--type=regex', r'--regex=(?m)^\d+ .+$',), input_data='\r\n'.join(lines).encode('utf-8'), custom_callback=done, action_on_removal=done2)