From 96265e28f7f7c65b6a05495efdf60ef488905dc1 Mon Sep 17 00:00:00 2001 From: kovan Date: Sat, 14 Mar 2026 20:21:37 +0100 Subject: [PATCH] Note Windows uses Ctrl-C to exit REPL instead of Ctrl-D On Windows, Ctrl-D does not send EOF. Add parenthetical notes at all three places where Ctrl-D is mentioned. Fixes #386 --- content/guides/deps_and_cli.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/guides/deps_and_cli.adoc b/content/guides/deps_and_cli.adoc index 99d562f0..56586eaf 100644 --- a/content/guides/deps_and_cli.adoc +++ b/content/guides/deps_and_cli.adoc @@ -38,13 +38,13 @@ Clojure 1.12.0 user=> ---- -Once in the REPL you can type Clojure expressions and press enter to evaluate them. Type Control-D to exit the REPL: +Once in the REPL you can type Clojure expressions and press enter to evaluate them. Type Control-D to exit the REPL (Control-C on Windows): [source,shell] ---- user=> (+ 2 3) # press the `enter` key after typing the expression to evaluate it 5 # result of expression -user=> # type Ctrl-D here to exit the REPL (does not print) +user=> # type Ctrl-D to exit (Ctrl-C on Windows) $ ---- @@ -507,7 +507,7 @@ user=> (+ 1 1) 2 ---- -Use Ctrl-D to exit the repl and Ctrl-C to exit the server. +Use Ctrl-D to exit the REPL (Ctrl-C on Windows) and Ctrl-C to exit the server. [[list_deps]] === List all dependencies