Dont detach process under vterm
Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>
This commit is contained in:
parent
6bd6690d80
commit
d07cf6c667
3 changed files with 4 additions and 2 deletions
widgets
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue