Add padding to relocate func (fixes weird scrolling behavior)

This commit is contained in:
Camille Scholtz
2016-05-20 17:43:26 +02:00
parent bbcd33d9fd
commit 096221fd0e
3 changed files with 7 additions and 7 deletions

View File

@@ -149,7 +149,7 @@ func HandleCommand(input string, view *View) {
if strings.Contains(flags, "c") {
// The 'check' flag was used
Search(search, view, true)
view.Relocate()
view.Relocate(0)
Redraw(view)
choice, canceled := messenger.YesNoPrompt("Perform replacement? (y,n)")
if canceled {