2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-01 11:13:24 +00:00

fix(readline): clear history filter on Readline, fixes filtering after ctrl-c

This commit is contained in:
TorchedSammy 2022-03-15 16:26:56 -04:00
parent b8e0874ab0
commit 0ee47cc6f0
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -38,6 +38,7 @@ func (rl *Instance) Readline() (string, error) {
rl.modeViMode = VimInsert
rl.pos = 0
rl.posY = 0
rl.tcPrefix = ""
// Completion && hints init
rl.resetHintText()