Skip to content

Commit

Permalink
Adding a todo comment, #106
Browse files Browse the repository at this point in the history
  • Loading branch information
daonb committed Jun 2, 2024
1 parent 339e1ec commit 9cadf0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peers/pane.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func NewPane(peer *Peer, ws *pty.Winsize, parent int) (*Pane, error) {
}
//TODO: handle a crash here, when there's a parent pane but no process yet
// https://github.com/tuzig/webexec/issues/106
-parent = parentPane.C.Process.Pid
parent = parentPane.C.Process.Pid
}
if ws != nil {
vt = vt10x.New(vt10x.WithSize(int(ws.Cols), int(ws.Rows)))
Expand Down

0 comments on commit 9cadf0b

Please sign in to comment.