JakeWharton / mosaic

Build terminal UI in Kotlin using Jetpack Compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`CompositionLocal` for terminal size

JakeWharton opened this issue · comments

Feature request extracted from #41

Probably easiest to depend on jline3 for this. Jansi only supports querying on Windows via their native lib (as on Linux and Mac you can "just" shell out). Plus we'll need jline3 for #10 anyway (and maybe more).

We could also use Mordant although I worry its desire to be a DSL might actually fight how we want to use it.

Mordant would also be required if we ever wanted to go multiplatform...