mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 03:27:55 +03:00
Remove useless code
As far as I can tell, `.active_window` does absolutely nothing, so I removed it.
This commit is contained in:
parent
c9045788f5
commit
4783947135
@ -757,10 +757,10 @@ def do_set_tab_title(self, title, tab_id):
|
||||
def kitty_shell(self, window_type):
|
||||
cmd = ['@', kitty_exe(), '@']
|
||||
if window_type == 'tab':
|
||||
self._new_tab(cmd).active_window
|
||||
self._new_tab(cmd)
|
||||
elif window_type == 'os_window':
|
||||
os_window_id = self._new_os_window(cmd)
|
||||
self.os_window_map[os_window_id].active_window
|
||||
self.os_window_map[os_window_id]
|
||||
elif window_type == 'overlay':
|
||||
w = self.active_window
|
||||
tab = self.active_tab
|
||||
|
Loading…
Reference in New Issue
Block a user