From 38a6d187b910a14ac2f74454d845fcfb24689e41 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 6 May 2020 10:03:20 -0400 Subject: Revert "Dont detach process under vterm" This reverts commit d07cf6c667a0d497c67196fca9967db71c1e02f6. --- widgets/terminal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets') diff --git a/widgets/terminal.go b/widgets/terminal.go index 59d93f89..8fc38cea 100644 --- a/widgets/terminal.go +++ b/widgets/terminal.go @@ -237,7 +237,7 @@ func (term *Terminal) Draw(ctx *ui.Context) { if term.pty == nil { term.vterm.SetSize(ctx.Height(), ctx.Width()) - tty, err := pty.StartWithAttrs(term.cmd, &winsize, nil) + tty, err := pty.StartWithSize(term.cmd, &winsize) term.pty = tty if err != nil { term.Close(err) -- cgit