mirror of
https://github.com/Twigpine/zero.git
synced 2026-11-09 18:08:31 -10:00
* feat(execution): add a stdin-only write for interactive processes * feat(tui): attach overlay for interactive terminal sessions * feat(tui): add /attach for interactive terminal sessions * feat(tools): point the model at tty sessions for interactive prompts * feat(tui): open the terminal automatically for tty exec sessions * feat(tools): tell the model to keep polling while the user types * feat(tui): give attached terminal sessions the full viewport * feat(tools): route sudo through an escalated tty session * fix(tui): route the auto-attach tick to its run * fix(tui): defer auto-attach while another view owns the screen * fix(tui): keep bracketed-paste framing for attached sessions * fix(tools): let tty sessions run interactive commands * fix(tui): capture the auto-attach baseline before the exec starts
18 lines
355 B
Go
18 lines
355 B
Go
//go:build !linux
|
|
|
|
package execution
|
|
|
|
import (
|
|
"errors"
|
|
"io"
|
|
"os/exec"
|
|
)
|
|
|
|
func startPTYProcess(_ *exec.Cmd, _ io.Writer) (io.WriteCloser, func(), error) {
|
|
return nil, nil, errors.New("pty transport is unavailable on this platform")
|
|
}
|
|
|
|
func resizePTY(_ io.Writer, _, _ int) error {
|
|
return errors.New("pty transport is unavailable on this platform")
|
|
}
|