From 440ba09061fa29c47a46448b11aab448182922ff Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Wed, 21 Dec 2016 19:09:22 -0300 Subject: [PATCH] Change detach keys so other programs like nano work Fixes #52 --- services/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/docker.go b/services/docker.go index f5d7e33..74227b6 100644 --- a/services/docker.go +++ b/services/docker.go @@ -166,7 +166,7 @@ func DeleteNetwork(id string) error { func CreateAttachConnection(id string, ctx context.Context) (*types.HijackedResponse, error) { - conf := types.ContainerAttachOptions{true, true, true, true, "ctrl-x,ctrl-x", true} + conf := types.ContainerAttachOptions{true, true, true, true, "ctrl-^,ctrl-^", true} conn, err := c.ContainerAttach(ctx, id, conf) if err != nil { return nil, err