@vampiress @mcc maybe looking at how Textual manages to be cross platform will help.
textualize.io/