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

Adjust for WAPM #27

Merged
merged 3 commits into from
May 16, 2022
Merged

Adjust for WAPM #27

merged 3 commits into from
May 16, 2022

Conversation

jcaesar
Copy link
Contributor

@jcaesar jcaesar commented May 14, 2022

Hi.

I wanted to throw omekasy onto wapm.io/webassembly.sh and adjusted it a bit for that (wasi doesn't support fancy terminal operations à la crossterm yet.)

This PR is more for asking whether you're opposed to that, than actually asking for these changes to be merged.

Font::Monospace,
Font::Blackboard,
])
Converter::new(Font::value_variants())
Copy link
Owner

@ikanago ikanago May 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't known this feature. I don't have to check whether all the variants is enumerated here, thanks! 👍

Comment on lines +63 to +67
let mut input = String::new();
stdin().read_to_string(&mut input)?;
print!(
"{}",
converter.convert(&input.chars().collect::<Vec<_>>(), font)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the feature that I was going to implement! Thanks.

Copy link
Owner

@ikanago ikanago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!
I have never heard of WAPM and webassembly.sh, but this is an interesting proposal.
For me, there is no problem to publishing omekasy to WAPM.
So let's discuss packaging for WAPM or CD set up in another issue.

@ikanago ikanago merged commit 865e6c4 into ikanago:main May 16, 2022
@ikanago ikanago mentioned this pull request May 16, 2022
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.

None yet

2 participants