Skip to content

Made it work on Linux. - #2

Merged
const-void merged 5 commits into
const-void:masterfrom
JacobHin2:jacobhin2
Jan 22, 2022
Merged

const-void merged 5 commits into
const-void:masterfrom
JacobHin2:jacobhin2

Conversation

@JacobHin2

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

I'll fix the conflicts.

@JacobHin2

Copy link
Copy Markdown
Contributor Author

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

@const-void

Copy link
Copy Markdown
Owner

will do!

@JacobHin2

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