signals_windows.go 225 B

12345678910
  1. //go:build windows
  2. // +build windows
  3. package tea
  4. // listenForResize is not available on windows because windows does not
  5. // implement syscall.SIGWINCH.
  6. func (p *Program) listenForResize(done chan struct{}) {
  7. close(done)
  8. }