Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

mschneider82
Copy link
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