mosaic
Toggle table of contents
0.17.0-SNAPSHOT
common
Platform filter
common
Switch theme
Search in API
mosaic
mosaic-runtime
/
com.jakewharton.mosaic
Package-level
declarations
Types
Functions
Properties
Types
Mosaic
Link copied to clipboard
interface
Mosaic
Terminal
Link copied to clipboard
@
Immutable
class
Terminal
(
val
focused
:
Boolean
,
val
darkTheme
:
Boolean
,
val
size
:
IntSize
)
Text
Canvas
Link copied to clipboard
interface
TextCanvas
Properties
Local
Terminal
Link copied to clipboard
val
LocalTerminal
:
ProvidableCompositionLocal
<
Terminal
>
Functions
Mosaic
Link copied to clipboard
fun
Mosaic
(
coroutineContext
:
CoroutineContext
,
onDraw
:
(
Mosaic
)
->
Unit
,
keyEvents
:
Channel
<
KeyEvent
>
,
terminalState
:
State
<
Terminal
>
)
:
Mosaic
render
Mosaic
Link copied to clipboard
fun
renderMosaic
(
content
:
@
Composable
(
)
->
Unit
)
:
String
run
Mosaic
Link copied to clipboard
suspend
fun
runMosaic
(
content
:
@
Composable
(
)
->
Unit
)
run
Mosaic
Blocking
Link copied to clipboard
fun
runMosaicBlocking
(
content
:
@
Composable
(
)
->
Unit
)