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