Skip to content

Commit

Permalink
Merge pull request #64 from reeflective/dev
Browse files Browse the repository at this point in the history
Fix history save
  • Loading branch information
maxlandon authored Aug 9, 2024
2 parents 6aca9b8 + 3b19a55 commit f290f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readline.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ func (rl *Shell) init() {
rl.selection.Reset()
rl.Buffers.Reset()
rl.History.Reset()
rl.History.Save()
rl.Iterations.Reset()

// Some accept-* commands must fetch a specific
// line outright, or keep the accepted one.
history.Init(rl.History)
rl.History.Save()

// Reset/initialize user interface components.
rl.Hint.Reset()
Expand Down

0 comments on commit f290f1d

Please sign in to comment.