Skip to content

fix: compiling js/wasm/plan9/aix failed missing method ColorProfile - #106

Merged
aymanbagabas merged 1 commit into
muesli:masterfrom
mschneider82:fixwasm
Jan 31, 2023
Merged

aymanbagabas merged 1 commit into
muesli:masterfrom
mschneider82:fixwasm

Conversation

@mschneider82

Copy link
Copy Markdown
Contributor

fixed compiling wasm

trying to compile the hello-world to wasm failed:

termenv/examples/hello-world>   GOOS=js GOARCH=wasm go build -o m main.go
../../termenv.go:41:16: output.ColorProfile undefined (type *Output has no field or method ColorProfile)
../../termenv.go:97:9: o.ColorProfile undefined (type *Output has no field or method ColorProfile)

also:
./main.go:10:33: undefined: termenv.EnableVirtualTerminalProcessing

after this PR:
it compiles...

@aymanbagabas
aymanbagabas self-requested a review January 31, 2023 18:53
@aymanbagabas
aymanbagabas merged commit 7d89746 into muesli:master Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

⌂ 换网址