şunun yansıması
https://github.com/sammy-ette/Hilbish
eşitlendi 2025-08-10 02:52:03 +00:00
fix: set running to true before throwing exit hook on no input
this fixes an issue with the prompt being kind of a mess when enter alone is pressed (and hilbish doesn't try to run anything)
Bu işleme şunda yer alıyor:
ebeveyn
853dfa369f
işleme
4a4cb3409f
1
main.go
1
main.go
@ -187,6 +187,7 @@ input:
|
||||
|
||||
input = strings.TrimSpace(input)
|
||||
if len(input) == 0 {
|
||||
running = true
|
||||
hooks.Em.Emit("command.exit", 0)
|
||||
continue
|
||||
}
|
||||
|
||||
Yükleniyor…
x
Yeni konuda referans
Bir kullanıcı engelle