forked from mirror/readline
fix typo
This commit is contained in:
parent
fd07ffef1b
commit
1e0917c739
|
@ -28,7 +28,7 @@ func main() {
|
|||
continue
|
||||
}
|
||||
cmds = append(cmds, line)
|
||||
if !strings.Contains(line, ";") {
|
||||
if !strings.HasSuffix(line, ";") {
|
||||
rl.SetPrompt(">>> ")
|
||||
continue
|
||||
}
|
||||
|
|
|
@ -152,7 +152,7 @@ func (i *Instance) SetMaskRune(r rune) {
|
|||
i.Operation.SetMaskRune(r)
|
||||
}
|
||||
|
||||
// change hisotry persistence in runtime
|
||||
// change history persistence in runtime
|
||||
func (i *Instance) SetHistoryPath(p string) {
|
||||
i.Operation.SetHistoryPath(p)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue