bubbletea/signals_other.go
Calvin Prewitt 73b79b3737
Provide the platform input/signal stubs on wasip1/wasip2 (#1767)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Drew Smirnoff <drew@charm.land>
2026-11-12 17:24:26 +04:00

6 lines
178 B
Go

//go:build wasip1 || wasip2
package tea
// listenForResize on WASI: no SIGWINCH; report immediately done.
func (p *Program) listenForResize(done chan struct{}) { close(done) }