diff --git a/lib/tfw/components/terminado_mini_server.py b/lib/tfw/components/terminado_mini_server.py index 3726097..e196c1f 100644 --- a/lib/tfw/components/terminado_mini_server.py +++ b/lib/tfw/components/terminado_mini_server.py @@ -30,6 +30,8 @@ class TerminadoMiniServer: @property def pty(self): + if self.term_manager.terminal is None: + self.term_manager.get_terminal() return self.term_manager.terminal.ptyproc class ResetterTermSocket(TermSocket): # pylint: disable=abstract-method