mirror of https://github.com/tidwall/tile38.git
commit
a0c94bc810
|
@ -375,6 +375,8 @@ func main() {
|
||||||
}
|
}
|
||||||
} else if err == liner.ErrPromptAborted {
|
} else if err == liner.ErrPromptAborted {
|
||||||
return
|
return
|
||||||
|
} else if err == io.EOF {
|
||||||
|
os.Exit(0)
|
||||||
} else {
|
} else {
|
||||||
fmt.Fprintf(os.Stderr, "Error reading line: %s", err.Error())
|
fmt.Fprintf(os.Stderr, "Error reading line: %s", err.Error())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue