mirror of https://github.com/Hilbis/Hilbish
fix: menu refreshes
now there's no flicker *and* its not bugged with leaving the text on exitpull/304/head
parent
ff6e08902f
commit
4c61c551aa
|
@ -29,7 +29,7 @@ func (rl *Instance) updateTabFind(r []rune) {
|
|||
rl.search = string(rl.tfLine)
|
||||
|
||||
// We update and print
|
||||
rl.clearHelpers()
|
||||
//rl.clearHelpers()
|
||||
rl.getTabCompletion()
|
||||
rl.renderHelpers()
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ func (rl *Instance) clearHelpers() {
|
|||
moveCursorForwards(rl.fullX)
|
||||
|
||||
// Clear everything below
|
||||
//print(seqClearScreenBelow)
|
||||
print(seqClearScreenBelow)
|
||||
|
||||
// Go back to current cursor position
|
||||
moveCursorBackwards(GetTermWidth())
|
||||
|
|
Loading…
Reference in New Issue