Merge branch 'gwl/fix-move_window_to_top-183' of https://github.com/gregorlarson/kitty into master

This commit is contained in:
Kovid Goyal 2020-09-08 08:38:18 +05:30
commit 77c9124a3d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 5 additions and 3 deletions

View File

@ -46,6 +46,8 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- Fix a regression that broke :opt:`kitten_alias` (:iss:`2952`)
- Fix a regression that broke the ``move_window_to_top`` action (:pull:`2953`)
0.18.3 [2020-08-11]
-------------------

View File

@ -439,9 +439,9 @@ class Tab: # {{{
self.relayout()
def move_window_to_top(self) -> None:
n = self.windows.num_groups
if n > 1:
self.move_window(1 - n)
n = self.windows.active_group_idx
if n > 0:
self.move_window(-n)
def move_window_forward(self) -> None:
self.move_window()