Skip to content

Commit

Permalink
Merge branch 'master' of github.com:chzyer/readline
Browse files Browse the repository at this point in the history
  • Loading branch information
chzyer committed Oct 8, 2015
2 parents 0f7efea + 3647bb9 commit d0699b8
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 @@ -40,7 +40,7 @@ func (c *Config) Init() error {
if c.Stderr == nil {
c.Stderr = Stderr
}
if c.HistoryLimit < 0 {
if c.HistoryLimit <= 0 {
c.HistoryLimit = 500
}
return nil
Expand Down

0 comments on commit d0699b8

Please sign in to comment.