Also use ascending order for os window selection

This commit is contained in:
Kovid Goyal 2019-11-28 09:23:08 +05:30
parent d854fc1cd0
commit c9b8510e9c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1258,5 +1258,5 @@ class Boss:
self._move_tab_to(tab=target_tab, target_os_window_id=os_window_id) self._move_tab_to(tab=target_tab, target_os_window_id=os_window_id)
self._run_kitten( 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) input_data='\r\n'.join(lines).encode('utf-8'), custom_callback=done, action_on_removal=done2)