diff --git a/filter.go b/filter.go index 7f0e130..8d856ae 100644 --- a/filter.go +++ b/filter.go @@ -22,6 +22,8 @@ import ( "github.com/gdamore/tcell/v2" ) +// TODO: Use tcell/v2/views instead of a manual scrolling computation + // TODO: Right now, filter does not handle terminal resize properly, //fix it! @@ -127,7 +129,8 @@ func main() { // Event loop for !done { - s.Clear() + //s.Clear() + Render(s, input, lowerBound, upperBound, currentLine) // Update screen