codingteam / euclid

UI library for terminal environments.
MIT License
3 stars 0 forks source link

Native terminal support #9

Closed hagane closed 5 years ago

hagane commented 5 years ago

Well this escalated fast. As per discussion in #6 Euclid now can happily live in all kinds of weird native terminals. Please note that native console rendering will not work properly when launched with SBT (probably because app's IO is wrapped by SBT or something) and will crash if started in an IDE (no actual console window). I'm still a fan of AWT terminal emulation. Yet it does resolve #5 in letter and in spirit, so there's that.

ForNeVeR commented 5 years ago

native console rendering will not work properly when launched with SBT (probably because app's IO is wrapped by SBT or something) and will crash if started in an IDE (no actual console window)

We can deal with that later (detect that there're some exceptional circumstances and select a fallback terminal based on that). For now that'll be okay, I guess.

hagane commented 5 years ago

detect that there're some exceptional circumstances and select a fallback terminal based on that.

Lanterna already does that for the most part, if nobody forces it to create a particular type of terminal.

ForNeVeR commented 5 years ago

Thanks for the contribution!