réplica de
https://github.com/sammy-ette/Hilbish
synced 2025-08-10 02:52:03 +00:00
fix: dont write history automatically with rl library
Este commit está contenido en:
padre
1cb536b1ac
commit
0637f2763b
1
rl.go
1
rl.go
@ -23,6 +23,7 @@ func newLineReader(prompt string) *lineReader {
|
||||
panic(err)
|
||||
}
|
||||
rl.SetHistoryCtrlR("file", fileHist)
|
||||
rl.HistoryAutoWrite = false
|
||||
rl.ShowVimMode = false
|
||||
rl.ViModeCallback = func(mode readline.ViMode) {
|
||||
modeStr := ""
|
||||
|
Cargando…
x
Referencia en una nueva incidencia
Block a user