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)
|
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()
|
||||||
}
|
}
|
||||||
|
|
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue