bubbletea/signals_windows.go

18 lines
314 B
Go

//go:build windows
// +build windows
package tea
import (
"context"
"os"
)
// listenForResize is not available on windows because windows does not
// implement syscall.SIGWINCH.
func listenForResize(ctx context.Context, output *os.File, msgs chan Msg,
errs chan error, done chan struct{},
) {
close(done)
}