2021-10-02 14:18:18 -04:00
|
|
|
//go:build windows
|
2020-06-17 12:27:16 -04:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package tea
|
|
|
|
|
2021-09-28 13:30:11 -04:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
"os"
|
|
|
|
)
|
2020-06-17 12:27:16 -04:00
|
|
|
|
|
|
|
// listenForResize is not available on windows because windows does not
|
|
|
|
// implement syscall.SIGWINCH.
|
2021-09-28 13:30:11 -04:00
|
|
|
func listenForResize(ctx context.Context, output *os.File, msgs chan Msg,
|
|
|
|
errs chan error, done chan struct{}) {
|
|
|
|
close(done)
|
|
|
|
}
|