Merge branch 'gwl/fix-move_window_to_top-183' of https://github.com/gregorlarson/kitty into master
This commit is contained in:
commit
77c9124a3d
@ -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 :opt:`kitten_alias` (:iss:`2952`)
|
||||||
|
|
||||||
|
- Fix a regression that broke the ``move_window_to_top`` action (:pull:`2953`)
|
||||||
|
|
||||||
|
|
||||||
0.18.3 [2020-08-11]
|
0.18.3 [2020-08-11]
|
||||||
-------------------
|
-------------------
|
||||||
|
|||||||
@ -439,9 +439,9 @@ class Tab: # {{{
|
|||||||
self.relayout()
|
self.relayout()
|
||||||
|
|
||||||
def move_window_to_top(self) -> None:
|
def move_window_to_top(self) -> None:
|
||||||
n = self.windows.num_groups
|
n = self.windows.active_group_idx
|
||||||
if n > 1:
|
if n > 0:
|
||||||
self.move_window(1 - n)
|
self.move_window(-n)
|
||||||
|
|
||||||
def move_window_forward(self) -> None:
|
def move_window_forward(self) -> None:
|
||||||
self.move_window()
|
self.move_window()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user