resize

fun resize(newWidth: Int, newHeight: Int)

Dynamically resizes the terminal grid and reflows the text. Text that was soft-wrapped will unwrap if the width increases. Text will soft-wrap if the width decreases.