varabyte / kotter

A declarative, Kotlin-idiomatic API for writing dynamic console applications.
Apache License 2.0
558 stars 16 forks source link

Handle large history in virtual terminal better #69

Closed bitspittle closed 2 years ago

bitspittle commented 2 years ago

The virtual terminal experience when using kobweb (a binary that spews tons of Gradle history) isn't great when the history gets very very long.

One possibility is to add a "maxNumLines" field with a default so that it cuts off anything beyond, say, 500 lines.

But we should create a dummy app that generates 1,000 lines of history text and investigate why the virtual terminal experience is so bad.

bitspittle commented 2 years ago

Also, maybe a context menu with "Clear" as an option