2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-02 03:33:22 +00:00

chore: set name of history in menu to History instead of file

This commit is contained in:
TorchedSammy 2022-03-19 13:24:12 -04:00
parent f03f8c0da1
commit 1e899bf18e
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

2
rl.go
View File

@ -21,7 +21,7 @@ func newLineReader(prompt string, noHist bool) *lineReader {
// but it cant have shared history
if !noHist {
fileHist = newFileHistory()
rl.SetHistoryCtrlR("file", fileHist)
rl.SetHistoryCtrlR("History", fileHist)
rl.HistoryAutoWrite = false
}
rl.ShowVimMode = false