Files
bubbletea/signals_windows.go
Christian Rocha 1a0beff868 chore: use go 1.16 (#449)
* chore: use go 1.16 and gofmt accordingly

* chore: also update examples and tuts to go 1.16
2022-09-14 19:08:36 -04:00

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)
}