2
3
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 à :
sammyette 2021-10-18 12:12:54 -04:00
Parent 2cf979401b
révision b008d48c60
Signature inconnue de Gitea
ID de la clé GPG: 50EE40A2809851F5

Voir le fichier

@ -262,6 +262,9 @@ func HandleSignals() {
for range c {
if !running {
if !interactive {
os.Exit(0)
}
lr.ClearInput()
}
}