mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-04 10:57:50 +08:00
eval: Log instead of write signals.
This commit is contained in:
parent
53745d4b9f
commit
158b4b82a5
|
@ -197,7 +197,7 @@ func (ev *Evaler) EvalInteractive(text string, n *parse.Chunk) error {
|
|||
for {
|
||||
select {
|
||||
case sig := <-sigch:
|
||||
fmt.Println(sig)
|
||||
Logger.Println("from stub:", sig)
|
||||
if sig == syscall.SIGINT {
|
||||
close(intCh)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user