miroir de
https://github.com/sammy-ette/Hilbish
synchronisé 2025-08-10 02:52:03 +00:00
fix: handle ctrl c properly when not interactive
Cette révision appartient à :
Parent
2cf979401b
révision
b008d48c60
3
main.go
3
main.go
@ -262,6 +262,9 @@ func HandleSignals() {
|
||||
|
||||
for range c {
|
||||
if !running {
|
||||
if !interactive {
|
||||
os.Exit(0)
|
||||
}
|
||||
lr.ClearInput()
|
||||
}
|
||||
}
|
||||
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur