mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-21 04:53:24 +00:00
fix: sigint hook emit on windows
This commit is contained in:
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…
x
Reference in New Issue
Block a user