process2

fun <T> Terminal.process2(title: String, content: () -> Widget? = { null }, keyOptions: Map<String, SelectKeyOption>? = null, onAnimate: (widget: Widget) -> Unit? = null, onDone: (animation: Animation<*>) -> Unit? = null, block: suspend ProcessContext2.() -> T): T