Add a todo to user tcell/v2/views in the future
This commit is contained in:
parent
ffca54e997
commit
45d5da9094
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue