2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-01 11:13:24 +00:00

fix: throw command.exit with 0 code if input is nothing

This commit is contained in:
sammyette 2021-10-13 22:51:38 -04:00
parent 38233ccda4
commit 9eabe5323d
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5

View File

@ -184,7 +184,10 @@ input:
}
input = strings.TrimSpace(input)
if len(input) == 0 { continue }
if len(input) == 0 {
hooks.Em.Emit("command.exit", 0)
continue
}
if strings.HasSuffix(input, "\\") {
for {