Skip to content

Commit 4419fa1

Browse files
committed
At least on Linux, you need to press Enter.
Signed-off-by: Felix Fontein <felix@fontein.de>
1 parent 1d8c226 commit 4419fa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/sops/edit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func editTree(opts editOpts, tree *sops.Tree, dataKey []byte) ([]byte, error) {
174174
return encryptedFile, nil
175175
}
176176

177-
const pressKeyMsg = "Press a key to return to the editor, or Ctrl+C to exit."
177+
const pressKeyMsg = "Press enter to return to the editor, or Ctrl+C to exit."
178178

179179
func waitForKeyPress() {
180180
bufio.NewReader(os.Stdin).ReadByte()

0 commit comments

Comments
 (0)