summaryrefslogtreecommitdiff
path: root/widgets/terminal.go
diff options
context:
space:
mode:
authorGuillaume J. Charmes <git+guillaume@charmes.net>2020-05-05 12:43:31 -0400
committerDrew DeVault <sir@cmpwn.com>2020-05-06 10:01:10 -0400
commitd07cf6c667a0d497c67196fca9967db71c1e02f6 (patch)
treea418b7163acb7b74379b1ca73db4644f716a4934 /widgets/terminal.go
parent6bd6690d80931062210d18f3e9855074707b03a8 (diff)
downloadaerc-d07cf6c667a0d497c67196fca9967db71c1e02f6.zip
Dont detach process under vterm
Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>
Diffstat (limited to 'widgets/terminal.go')
-rw-r--r--widgets/terminal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/terminal.go b/widgets/terminal.go
index 8fc38ce..59d93f8 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.StartWithSize(term.cmd, &winsize)
+ tty, err := pty.StartWithAttrs(term.cmd, &winsize, nil)
term.pty = tty
if err != nil {
term.Close(err)