fix: menu refreshes

now there's no flicker *and* its not bugged with
leaving the text on exit
pull/304/head
sammyette 2024-05-13 22:10:28 -04:00
parent ff6e08902f
commit 4c61c551aa
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ func (rl *Instance) updateTabFind(r []rune) {
rl.search = string(rl.tfLine) rl.search = string(rl.tfLine)
// We update and print // We update and print
rl.clearHelpers() //rl.clearHelpers()
rl.getTabCompletion() rl.getTabCompletion()
rl.renderHelpers() rl.renderHelpers()
} }

View File

@ -121,7 +121,7 @@ func (rl *Instance) clearHelpers() {
moveCursorForwards(rl.fullX) moveCursorForwards(rl.fullX)
// Clear everything below // Clear everything below
//print(seqClearScreenBelow) print(seqClearScreenBelow)
// Go back to current cursor position // Go back to current cursor position
moveCursorBackwards(GetTermWidth()) moveCursorBackwards(GetTermWidth())