bubbletea/exec_pty_windows.go
drew 5187ca8e8b
feat: clipboard without OSC52
Signed-off-by: drew <me@andrinoff.com>
2026-09-22 13:46:49 +04:00

20 lines
476 B
Go

//go:build windows
// +build windows
package tea
import (
"os"
"os/exec"
)
// preparePtyCommand is a no-op on Windows, where ConPTY handles the session
// and console setup of the command.
func preparePtyCommand(*exec.Cmd) {}
// ptyResizeSignals returns a channel that never receives a value: Windows has
// no resize signal, and ConPTY reports resizes through the pseudo-terminal
// itself.
func ptyResizeSignals() (<-chan os.Signal, func()) {
return nil, func() {}
}