aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-05-06 10:03:20 -0400
committerDrew DeVault <sir@cmpwn.com>2020-05-06 10:03:20 -0400
commit38a6d187b910a14ac2f74454d845fcfb24689e41 (patch)
treef1d0460cb11a51037bda61f170ffad1c60b5a5f4 /widgets
parentd07cf6c667a0d497c67196fca9967db71c1e02f6 (diff)
downloadaerc-38a6d187b910a14ac2f74454d845fcfb24689e41.tar.gz
Revert "Dont detach process under vterm"
This reverts commit d07cf6c667a0d497c67196fca9967db71c1e02f6.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/terminal.go2
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)