Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Drew Smirnoff <drew@charm.land>
12 lines
359 B
Go
12 lines
359 B
Go
//go:build wasip1 || wasip2
|
|
|
|
package tea
|
|
|
|
// initInput on WASI: there is no raw mode and no /dev/tty; the program
|
|
// runs with non-TTY (pipe) input, which Bubble Tea supports natively.
|
|
func (p *Program) initInput() (err error) { return nil }
|
|
|
|
// suspendSupported: no SIGTSTP or process groups on WASI.
|
|
const suspendSupported = false
|
|
|
|
func suspendProcess() {}
|