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

Possibility of a Windows port #8

Open
sskras opened this issue Feb 19, 2022 · 2 comments
Open

Possibility of a Windows port #8

sskras opened this issue Feb 19, 2022 · 2 comments

Comments

@sskras
Copy link

sskras commented Feb 19, 2022

What do you think: would it be hard to port lilt to Windows OS ?

@MurphyMc
Copy link
Owner

Hmm... I think it depends on what you wanted to do with it.

I think if you just wanted to get it working such that you could feed it terminal control sequences and have it draw them correctly, it would be quite easy. That code is all pretty straightforward and just relies on SDL, which is certainly available for Windows. One would just rip out the stuff that forks and runs a shell and such.

Beyond that, it might depend. Cygwin has an SDL package, so I think one could probably build a cygwin-friendly version that could run cygwin's bash and other tools without much difficulty. If one wanted to use it to run native Windows console applications and stuff like cmd.exe, it might take a bit more work or a lot more work for things that use the Windows console API (though my understand is that that is being deprecated, though I don't follow Windows very closely).

@sskras
Copy link
Author

sskras commented Feb 21, 2022

Thanks for the insights!

I didn't think about using Windows console apps, will do later.

But I definitely would like to avoid using Cygwin. I would like to use Midipix layer for compilation, if any:)

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

No branches or pull requests

2 participants