You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing a CLI library using Mosaic. It works great, but when I run Mosaic in CI environments like GitHub Actions, I encounter the error "Cannot enter raw mode on a non-interactive terminal". We can work around this by setting an environment variable:
env:
MOSAIC_RAW_MODE: false
Mosaic uses System.getenv to retrieve this variable, which prevents programmatic updates. Consequently, I'm forced to ask users to configure it manually(I would like to observe values in Compose). If we could switch to using System.getProperty(), we could modify it using setProperty. However, this is a Java-only API, so ideally, it would be beneficial to have a more platform-agnostic API for this. I'm hoping we can make suspend fun runMosaic(enterRawMode: Boolean, content: @Composable () -> Unit) public.
By CLI library do you mean a library that other CLI apps will consume? I'm curious what API surface you expose for rendering within a host application.
Right now it's unconditional
The text was updated successfully, but these errors were encountered: