aboutsummaryrefslogtreecommitdiffhomepage
path: root/janet.1
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2020-04-10 17:01:41 -0500
committerCalvin Rose <calsrose@gmail.com>2020-04-10 17:20:23 -0500
commite1f4cadf4169c0516e01e8f74879590c8861cf5d (patch)
tree4819ed0f688ba7deaf4f295d22819bc2481aa619 /janet.1
parentMake Ctrl-G in repl show docstring for symbol. (diff)
Add debugger to the core repl.
Debugger functions are prefixed by periods.
Diffstat (limited to 'janet.1')
-rw-r--r--janet.110
1 files changed, 10 insertions, 0 deletions
diff --git a/janet.1 b/janet.1
index dfc415ee..5f8a9c02 100644
--- a/janet.1
+++ b/janet.1
@@ -97,6 +97,10 @@ Delete everything before the cursor on the input line.
Delete one word before the cursor.
.TP 16
+.BR Ctrl\-G
+Show documentation for the current symbol under the cursor.
+
+.TP 16
.BR Alt\-B/Alt\-F
Move cursor backwards and forwards one word.
@@ -149,6 +153,12 @@ Execute a string of Janet source. Source code is executed in the order it is enc
arguments are executed before later ones.
.TP
+.BR \-d
+Enable debug mode. On all terminating signals as well the debug signal, this will
+cause the debugger to come up in the REPL. Same as calling (setdyn :debug true) in a
+default repl.
+
+.TP
.BR \-n
Disable ANSI colors in the repl. Has no effect if no repl is run.