mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-26 08:20:41 +00:00
fix: menu refreshes
now there's no flicker *and* its not bugged with leaving the text on exit
This commit is contained in:
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…
x
Reference in New Issue
Block a user