From 925ded6cea4a5e53ed8949844b4738987968cf71 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Thu, 17 Mar 2022 19:57:57 -0400 Subject: [PATCH] fix(readline): remove duplicate code --- readline/tab.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/readline/tab.go b/readline/tab.go index 7c86386..231f3f8 100644 --- a/readline/tab.go +++ b/readline/tab.go @@ -96,9 +96,6 @@ func (rl *Instance) getTabSearchCompletion() { // Set the hint for this completion mode rl.hintText = append([]rune("Completion search: "), rl.tfLine...) - // Set the hint for this completion mode - rl.hintText = append([]rune("Completion search: "), rl.tfLine...) - for _, g := range rl.tcGroups { g.updateTabFind(rl) }