mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
Insert some blank lines in the generated session file
This commit is contained in:
parent
ee5a2413c6
commit
7a27144b7a
1 changed files with 2 additions and 1 deletions
|
|
@ -305,6 +305,7 @@ class Tab: # {{{
|
|||
launch_cmds.append('focus')
|
||||
if launch_cmds:
|
||||
return [
|
||||
'',
|
||||
f'new_tab {self.name}'.rstrip(),
|
||||
f'layout {self._current_layout_name}',
|
||||
f'enabled_layouts {",".join(self.enabled_layouts)}',
|
||||
|
|
@ -1203,7 +1204,7 @@ class TabManager: # {{{
|
|||
for tab in sorted(self, key=skey):
|
||||
ans.extend(tab.serialize_state_as_session())
|
||||
if ans:
|
||||
prefix = [] if is_first else ['new_os_window']
|
||||
prefix = [] if is_first else ['', '', 'new_os_window']
|
||||
if self.wm_class:
|
||||
prefix.append(f'os_window_class {self.wm_class}')
|
||||
if self.wm_name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue