forked from mirror/readline
Merge branch 'master' of github.com:chzyer/readline
This commit is contained in:
commit
d0699b888b
|
@ -40,7 +40,7 @@ func (c *Config) Init() error {
|
||||||
if c.Stderr == nil {
|
if c.Stderr == nil {
|
||||||
c.Stderr = Stderr
|
c.Stderr = Stderr
|
||||||
}
|
}
|
||||||
if c.HistoryLimit < 0 {
|
if c.HistoryLimit <= 0 {
|
||||||
c.HistoryLimit = 500
|
c.HistoryLimit = 500
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue