aboutsummaryrefslogtreecommitdiffhomepage
path: root/janet.1
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2020-12-29 16:20:37 -0600
committerCalvin Rose <calsrose@gmail.com>2020-12-29 16:20:37 -0600
commit27b1f59aa977a8a755dbccf6a6ccfe486f8522b2 (patch)
treedf1a81de61e1f8a177c3d1c293da6c95bc8273dd /janet.1
parentMerge pull request #541 from sogaiu/match-doc-formatting (diff)
Change Ctrl-C and move old behavior to Ctrl-Q
This lets Janet be a better unix citizen and lets Ctrl-C raise an interrupt. Trying to make Janet behave superficially like a shell by overriding Ctrl-C is not helpful.
Diffstat (limited to 'janet.1')
-rw-r--r--janet.18
1 files changed, 8 insertions, 0 deletions
diff --git a/janet.1 b/janet.1
index 61c65b64..e25989e2 100644
--- a/janet.1
+++ b/janet.1
@@ -65,6 +65,10 @@ Move cursor to the beginning of input line.
Move cursor one character to the left.
.TP 16
+.BR Ctrl\-D
+If on a newline, indicate end of stream and exit the repl.
+
+.TP 16
.BR Ctrl\-E
Move cursor to the end of input line.
@@ -101,6 +105,10 @@ Delete one word before the cursor.
Show documentation for the current symbol under the cursor.
.TP 16
+.BR Ctrl\-Q
+Clear the current command, including already typed lines.
+
+.TP 16
.BR Alt\-B/Alt\-F
Move cursor backwards and forwards one word.