mirror of https://github.com/docker/cli.git
536aef9c63
On termios platforms, interrupt signals are not generated in raw mode terminals
as the ISIG setting is not enabled. Remove interrupt handler as it does nothing
for raw mode and prevents other uses of INT signal with this library.
This code seems to go back all the way to moby/moby#214 where signal handling was
improved for monolithic docker repository. Raw mode -ISIG got reintroduced in
https://github.com/moby/moby/commit/3f63b878076, but the INT handler was left
behind.
full diff:
|
||
---|---|---|
.. | ||
github.com | ||
go.etcd.io/etcd/raft/v3 | ||
golang.org/x | ||
google.golang.org | ||
gopkg.in/yaml.v2 | ||
gotest.tools/v3 | ||
modules.txt |