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

Made it work on Linux. #2

Merged
merged 5 commits into from
Jan 22, 2022
Merged

Conversation

JacobHin2
Copy link
Contributor

One issue is now I have no clue about Mac compatibility. It links against libc so there's technically one dependency now.

It just gets the TIOCGWINSZ from C because I have no idea how to do it using the standard library (maybe there's a way)

I also had to change the winsize struct to use the libc version because it has not yet been written into std.c which would get used under std.os.system if you linked libc.

If you agree with the changes could you please check they work?

Thanks

@JacobHin2
Copy link
Contributor Author

I'll fix the conflicts.

@JacobHin2
Copy link
Contributor Author

OK, I fixed all the conflicts, can you test whether it works for me? Thanks

@const-void
Copy link
Owner

will do!

@JacobHin2
Copy link
Contributor Author

Sorry, I either forgot to do this or it was overwritten at some point.

If it wasn't compiling it should now.

@const-void const-void merged commit 3f80a33 into const-void:master Jan 22, 2022
@const-void const-void mentioned this pull request Aug 4, 2024
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