rensbreur / SwiftTUI

SwiftUI for terminal applications
MIT License
1.21k stars 44 forks source link

Linux support? #36

Closed LJNIC closed 2 months ago

LJNIC commented 3 months ago

This doesn't support Linux because of the AppKit dependency, right?

rensbreur commented 3 months ago

Oops, that seems to be an issue in the latest master indeed, thanks for reporting!

For reference: Looks like it was introduced here. That new code should be wrapped in #if os(macOS). I will do that and test it later on my linux machine

faldor20 commented 2 months ago

Hey @rensbreur would you have a branch with these changes I could test? I'm also interested in trying this on linux. Thanks :)

rensbreur commented 2 months ago

I've just fixed it so you can use the latest main

faldor20 commented 2 months ago

I tested it and it worked! thanks :)

rensbreur commented 2 months ago

Great!