Wake agents when the human runs a command they left in the terminal
This commit is contained in:
@@ -44,9 +44,13 @@ func New(dataDir string, portFirst int) (*Server, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
terminals, err := terminal.New(filepath.Join(dataDir, "zsh"))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
s := &Server{
|
||||
hub: newHub(),
|
||||
terminals: terminal.New(),
|
||||
terminals: terminals,
|
||||
startedAt: time.Now().UTC(),
|
||||
users: map[string]string{},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user