mirror of https://github.com/chzyer/readline.git
Update Config init.
On branch master Your branch is up to date with 'origin/master'. Changes to be committed: modified: readline.go
This commit is contained in:
parent
f2b6537408
commit
dc43ea572e
|
@ -97,6 +97,7 @@ func (c *Config) Init() error {
|
|||
if c.inited {
|
||||
return nil
|
||||
}
|
||||
c.Prompt = StaticPrompt("")
|
||||
c.inited = true
|
||||
if c.Stdin == nil {
|
||||
c.Stdin = NewCancelableStdin(Stdin)
|
||||
|
|
Loading…
Reference in New Issue