mirror of https://github.com/Hilbis/Hilbish
fix: throw command.success hook after successfullua input
parent
a9018a2740
commit
0987899144
1
main.go
1
main.go
|
@ -108,6 +108,7 @@ func main() {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
// If it succeeds, add to history and prompt again
|
// If it succeeds, add to history and prompt again
|
||||||
readline.AddHistory(cmdString)
|
readline.AddHistory(cmdString)
|
||||||
|
bait.Em.Emit("command.success", nil)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue