diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-05-06 10:03:20 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-06 10:03:20 -0400 |
commit | 38a6d187b910a14ac2f74454d845fcfb24689e41 (patch) | |
tree | f1d0460cb11a51037bda61f170ffad1c60b5a5f4 /widgets/terminal.go | |
parent | d07cf6c667a0d497c67196fca9967db71c1e02f6 (diff) | |
download | aerc-38a6d187b910a14ac2f74454d845fcfb24689e41.tar.gz |
Revert "Dont detach process under vterm"
This reverts commit d07cf6c667a0d497c67196fca9967db71c1e02f6.
Diffstat (limited to 'widgets/terminal.go')
-rw-r--r-- | widgets/terminal.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |