Merge branch 'spawn-child-init-command' into add-new-vsplit-hsplit-cmd-dbus

This commit is contained in:
thebigs 2021-02-18 22:47:57 -05:00
commit fd142cc57e

View File

@ -1420,10 +1420,10 @@ class Terminal(Gtk.VBox):
self.is_held_open = True
self.titlebar.update()
def spawn_child(self, widget=None, respawn=False, debugserver=False):
def spawn_child(self, init_command=None, widget=None, respawn=False, debugserver=False):
args = []
shell = None
command = None
command = init_command
if self.terminator.doing_layout:
dbg('still laying out, refusing to spawn a child')