2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-25 23:13:22 +00:00

fix: dont refresh log on regex search error

This commit is contained in:
sammyette 2025-04-24 12:08:12 -04:00
parent ef4c925e37
commit e676c095c2
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -240,7 +240,7 @@ func NewInstance() *Instance {
var err error
rl.regexSearch, err = regexp.Compile("(?i)" + string(rl.tfLine))
if err != nil {
rl.RefreshPromptLog(err.Error())
//rl.RefreshPromptLog(err.Error())
rl.infoText = []rune(Red("Failed to match search regexp"))
}