Use new name exitChecker instead of old exitor
This commit is contained in:
parent
9bef59299a
commit
0bf3c2e7f9
@ -210,7 +210,7 @@ func (p *Prompt) handleKeyBinding(key Key) bool {
|
||||
kb.Fn(p.buf)
|
||||
}
|
||||
}
|
||||
if p.exitor != nil && p.exitor(p.buf.Text()) {
|
||||
if p.exitChecker != nil && p.exitChecker(p.buf.Text()) {
|
||||
shouldExit = true
|
||||
}
|
||||
return shouldExit
|
||||
|
Loading…
Reference in New Issue
Block a user