mirror of https://github.com/Hilbis/Hilbish
fix: sigint hook emit on windows
parent
307589df9e
commit
a7eb69c131
|
@ -14,7 +14,7 @@ func handleSignals() {
|
|||
for s := range c {
|
||||
switch s {
|
||||
case os.Interrupt:
|
||||
hooks.Em.Emit("signal.sigint")
|
||||
hooks.Emit("signal.sigint")
|
||||
if !running && interactive {
|
||||
lr.ClearInput()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue