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
It looks like having a large enough text to need wrapping inside an animation breaks it.
Running the following code on a terminal size small enough that causes the first line to wrap will reproduce it.
val terminal =Terminal()
val animation = terminal.animation<Unit> {
verticalLayout {
cell(Text("Really long text".repeat(20)))
cell("")
cell(Text("I will be overwritten!"))
cell("")
}
}
while (isActive) {
animation.update(Unit)
delay(1.seconds)
}
I have not found any workaround to this issue.
The text was updated successfully, but these errors were encountered:
It looks like having a large enough text to need wrapping inside an animation breaks it.
Running the following code on a terminal size small enough that causes the first line to wrap will reproduce it.
I have not found any workaround to this issue.
The text was updated successfully, but these errors were encountered: